From 3ab8981195dbbdc553fbe1a14178b6793a81fa3b Mon Sep 17 00:00:00 2001
From: Volpeon <git@volpeon.ink>
Date: Wed, 30 Dec 2020 09:06:31 +0100
Subject: Revert to old category metadata collection, add support for authors

---
 templates/base.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'templates/base.html')

diff --git a/templates/base.html b/templates/base.html
index 9574d08..4b8ea1e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,8 +6,8 @@
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="robots" content="noindex" />
     <link rel="shortcut icon" href="/favicon.ico" />
-    $for(author-meta)$
-        <meta name="author" content="$author-meta$" />
+    $for(author)$
+        <meta name="author" content="$it.name$$if(it.email)$ <$it.email$>$endif$" />
     $endfor$
     $if(date-meta)$
         <meta name="dcterms.date" content="$date-meta$" />
@@ -53,7 +53,7 @@ $body$
 
             $if(section.is_blog)$
                 $if(pages.not_empty)$
-                    ${categories.blog:categoryRef()}
+                    ${categoryRef()}
                     ${pagelistByYear()}
                 $endif$
             $endif$
-- 
cgit v1.2.3-70-g09d2