summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
committerVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
commita48d05d1d5fcff414359c8ba6cc8f38467aebdeb (patch)
tree3542bf116c910a1bb42b40d8531f60c2c2498b08 /templates/base.html
parentUpdate (diff)
downloadvolpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.gz
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.bz2
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.zip
Refactoring to fully take advantage of Make
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html
index cd1e869..a5d29b5 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,14 +19,7 @@
19 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> 19 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
20 $endif$ 20 $endif$
21 21
22 $for(feeds)$ 22 <title>$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$</title>
23 <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" />
24 $endfor$
25 $if(feed)$
26 <link href="$feed.url.rel$" type="application/atom+xml" rel="alternate" title="$if(section.is_index)$$else$$title$ – $endif$$site.title$" />
27 $endif$
28
29 <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title>
30 23
31 <link rel="preload" href="/style.css" as="style" /> 24 <link rel="preload" href="/style.css" as="style" />
32 <link rel="preload" href="/symbols.svg" as="image" type="image/svg+xml" /> 25 <link rel="preload" href="/symbols.svg" as="image" type="image/svg+xml" />
@@ -46,7 +39,7 @@
46 </svg> 39 </svg>
47 </span> 40 </span>
48 </a> 41 </a>
49 $if(section.is_index)$ 42 $if(namespace.root.is_index)$
50 $else$ 43 $else$
51 $for(menus.main.items)$ 44 $for(menus.main.items)$
52 $if(it.active)$ 45 $if(it.active)$
@@ -61,7 +54,7 @@
61 </nav> 54 </nav>
62 55
63 <main> 56 <main>
64 $if(section.is_index)$ 57 $if(namespace.root.is_index)$
65${layouts/index()} 58${layouts/index()}
66 $elseif(layout.is_categorized_list)$ 59 $elseif(layout.is_categorized_list)$
67${layouts/categorized_list()} 60${layouts/categorized_list()}