From 1bea0b7b1ecf0b04f724e2cda575df8bdbb70ad2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 29 Dec 2020 21:05:48 +0100 Subject: Improved metadata generation, added ATOM feeds --- templates/base.html | 57 ++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 27 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 3fca9f1..0704388 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,24 +7,27 @@ $for(author-meta)$ - + $endfor$ $if(date-meta)$ - + $endif$ $if(keywords)$ - + $endif$ - $if(ishome)$$else$$title$ – $endif$$site.title$ + $if(feed.url.abs)$ + + $endif$ + $if(is_home)$$else$$title$ – $endif$$site.title$ - $if(section)$ - + $if(section.id)$ + $endif$ @@ -33,14 +36,14 @@
$for(menus.main)$ - $it.label$ + $it.label$ $endfor$
- $if(ishome)$ + $if(is_home)$ @@ -48,26 +51,26 @@ ${pageHeader()} $body$ - $if(isblog)$ - ${categoryRef()} - ${pagelistByYear()} + $if(section.is_blog)$ + ${categories.blog:categoryRef()} + ${pagelistByYear()} $endif$
- $if(ishome)$ - - + headerEl.classList.remove("u-hidden@sm-down"); + headerEl.appendChild(headerSmEl); + $endif$ -- cgit v1.2.3-54-g00ecf