commit 6103014962102db1b184896db305ac39a204d837
parent 2754b01e47f64fa374feefdc660e57eae642c87b
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 16 Mar 2018 11:08:08 +0100
Update the templates to account for the switch to motyl.rb
Diffstat:
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/templates/atom.mustache b/templates/atom.mustache
@@ -6,7 +6,7 @@
<link href="{{{site.url}}}atom.xml" rel="self"/>
<link href="{{{site.url}}}"/>
- <updated>{{{updated}}}</updated>
+ <updated>{{{site.updated}}}</updated>
<id>{{{site.url}}}</id>
<author>
@@ -15,7 +15,7 @@
<generator uri="https://github.com/fcambus/motyl">Motyl</generator>
- {{#site.feed}}
+ {{#feed}}
<entry>
<title><![CDATA[{{{title}}}]]></title>
<link href="{{{site.url}}}{{{url}}}"/>
@@ -31,5 +31,5 @@
<category term="{{category}}" scheme="{{{site.url}}}/categories/{{{url}}}"/>
{{/categoryDisplay}}
</entry>
- {{/site.feed}}
+ {{/feed}}
</feed>
diff --git a/templates/categories.mustache b/templates/categories.mustache
@@ -1,9 +1,9 @@
{{> header}}
-{{#site.posts}}
+{{#posts}}
<h3><a href="/{{{url}}}">{{{title}}}</a></h3>
<time>{{date}}</time>
{{#categoryDisplay}}
· <a href="/categories/{{{url}}}">{{category}}</a>
{{/categoryDisplay}}
-{{/site.posts}}
+{{/posts}}
{{> footer}}
diff --git a/templates/header.mustache b/templates/header.mustache
@@ -14,6 +14,7 @@
<link rel="canonical" href="{{{site.url}}}{{{page.url}}}" />
<link rel="stylesheet" href="/styles/chrysalide.css" type="text/css" />
+ <link rel="stylesheet" href="/styles/syntax.css" type="text/css" />
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" />
</head>