Make articles rss compatible
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
45259fb38d
commit
b97b91990d
2 changed files with 2 additions and 34 deletions
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
<p style="margin-left: 20px;color: white;font-size: 16px">{{published}}</p>
|
||||
</div>
|
||||
<article>{{body}}</article>
|
||||
<article class="content">{{body}}</article>
|
||||
<hr>
|
||||
<a href="{{base_url}}/">
|
||||
<h3 style="margin-left: 20px;min-height:200px">Read more from Compute</h3>
|
||||
|
@ -82,4 +82,4 @@
|
|||
<script src="{{base_url}}/js/webflow.js" type="text/javascript"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{title}}</title>
|
||||
<meta content="{{title}}" property="twitter:title">
|
||||
<meta property="og:title" content="{{title}}">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:image" content="{{base_url}}/images/logo-z.png">
|
||||
<meta property="og:image:width" content="310">
|
||||
<meta property="og:image:height" content="310">
|
||||
<meta property="og:image:alt" content="The Compute logo">
|
||||
<meta property="og:site_name" content="Compute: Lake Braddock's Comp-Sci Journal">
|
||||
<meta property="og:article:published_time" content="{{published_og}}">
|
||||
<meta property="og:article:modified_time" content="{{modified_og}}">
|
||||
{% for author in authors %}
|
||||
<meta property="og:article:author:first_name" content="{{ author.full_name | split(pat=' ') | nth(n=0) }}">
|
||||
<meta property="og:article:author:last_name" content="{{ author.full_name | split(pat=' ') | nth(n=1) }}">
|
||||
<meta property="og:article:author:username" content="{{author.username}}">
|
||||
{% endfor %}
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<link href="{{base_url}}/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
|
||||
<link href="{{base_url}}/images/webclip.png" rel="apple-touch-icon">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a href="{{id}}.html">View full webpage</a>
|
||||
{{body}}
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue