From 5db16a08a9726b67b5bb96fd17f813fa1b74f568 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 5 Jan 2021 10:58:04 +0100 Subject: Moved all metadata processing from the build script into a Pandoc Lua filter --- templates/base.html | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 18d65c8..3e079a1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,22 +22,13 @@ $endfor$ - $if(is_home)$$else$$title$ – $endif$$site.title$ + $if(section.is_index)$$else$$title$ – $endif$$site.title$ - $if(section.id)$ - - $endif$ @@ -45,14 +36,14 @@
$for(menus.main)$ - $it.label$ + $it.label$ $endfor$
- $if(is_home)$ + $if(section.is_index)$ @@ -66,7 +57,7 @@ ${page()}
- $if(is_home)$ + $if(section.is_index)$ -- cgit v1.2.3-54-g00ecf