summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-06 14:49:43 +0100
committerVolpeon <git@volpeon.ink>2021-01-06 14:49:43 +0100
commitb26abc90439e5e1d25176ffa80f7ba0b34b3fa43 (patch)
tree14a3fff849ac7de28b37e0c9193e7d0f5ca26630 /templates
parentMoved all metadata processing from the build script into a Pandoc Lua filter (diff)
downloadvolpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.tar.gz
volpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.tar.bz2
volpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.zip
Improved subpage organization code in metadata filter
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html1
-rw-r--r--templates/feed.xml58
-rw-r--r--templates/list.html18
3 files changed, 36 insertions, 41 deletions
diff --git a/templates/base.html b/templates/base.html
index 3e079a1..b4a2953 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,6 +6,7 @@
6 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <meta name="robots" content="noindex" /> 7 <meta name="robots" content="noindex" />
8 8
9 <link rel="canonical" href="$url.full$">
9 <link rel="shortcut icon" href="/favicon.ico" /> 10 <link rel="shortcut icon" href="/favicon.ico" />
10 11
11 $for(author)$ 12 $for(author)$
diff --git a/templates/feed.xml b/templates/feed.xml
index 083049e..a968205 100644
--- a/templates/feed.xml
+++ b/templates/feed.xml
@@ -14,37 +14,33 @@
14 </author> 14 </author>
15 $endfor$ 15 $endfor$
16 16
17 $for(pages)$ 17 $for(pages.all_dated)$
18 $for(it.all)$ 18 <entry>
19 $if(it.date)$ 19 <id>$it.url.full$</id>
20 <entry> 20 <title type="html"><![CDATA[$it.title$]]></title>
21 <id>$it.url.full$</id> 21 $if(it.author)$
22 <title type="html"><![CDATA[$it.title$]]></title> 22 $for(it.author)$
23 $if(it.author)$ 23 <author>
24 $for(it.author)$ 24 <name>$it.name$</name>
25 <author> 25 $if(it.email)$
26 <name>$it.name$</name> 26 <email>$it.email$</email>
27 $if(it.email)$ 27 $endif$
28 <email>$it.email$</email> 28 </author>
29 $endif$ 29 $endfor$
30 </author> 30 $else$
31 $endfor$ 31 $for(author)$
32 $else$ 32 <author>
33 $for(author)$ 33 <name>$author.name$</name>
34 <author> 34 $if(author.email)$
35 <name>$author.name$</name> 35 <email>$author.email$</email>
36 $if(author.email)$ 36 $endif$
37 <email>$author.email$</email> 37 </author>
38 $endif$ 38 $endfor$
39 </author>
40 $endfor$
41 $endif$
42 <link href="$it.url.full$"/>
43 <published>$it.date.rfc3339$</published>
44 <updated>$it.last_update.rfc3339$</updated>
45 <content type="html"><![CDATA[$it.content$]]></content>
46 </entry>
47 $endif$ 39 $endif$
48 $endfor$ 40 <link href="$it.url.full$"/>
41 <published>$it.date.rfc3339$</published>
42 <updated>$it.last_update.rfc3339$</updated>
43 <content type="html"><![CDATA[$it.content$]]></content>
44 </entry>
49 $endfor$ 45 $endfor$
50</feed> 46</feed>
diff --git a/templates/list.html b/templates/list.html
index 2d663e0..d74681c 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -8,15 +8,13 @@ $if(categories)$
8 </ul> 8 </ul>
9$endif$ 9$endif$
10 10
11$for(pages)$ 11$for(pages.by_year)$
12 $for(it.by_year)$ 12 <ul>
13 <ul> 13 $for(it.value)$
14 $for(it.value)$ 14 <li class="c-page__prefixed c-page__prefixed--ref">
15 <li class="c-page__prefixed c-page__prefixed--ref"> 15 <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a>
16 <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> 16 </li>
17 </li> 17 $endfor$
18 $endfor$ 18 </ul>
19 </ul>
20 $endfor$
21$endfor$ 19$endfor$
22 20