diff options
author | Volpeon <git@volpeon.ink> | 2020-12-30 09:06:31 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-30 09:06:31 +0100 |
commit | 3ab8981195dbbdc553fbe1a14178b6793a81fa3b (patch) | |
tree | eee7ce7de75903d0140245dd1d39686c73113bd3 /templates/base.html | |
parent | Fixed regression: Category showed up in child pages as well (diff) | |
download | volpeon.ink-3ab8981195dbbdc553fbe1a14178b6793a81fa3b.tar.gz volpeon.ink-3ab8981195dbbdc553fbe1a14178b6793a81fa3b.tar.bz2 volpeon.ink-3ab8981195dbbdc553fbe1a14178b6793a81fa3b.zip |
Revert to old category metadata collection, add support for authors
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
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 | <link rel="shortcut icon" href="/favicon.ico" /> | 8 | <link rel="shortcut icon" href="/favicon.ico" /> |
9 | $for(author-meta)$ | 9 | $for(author)$ |
10 | <meta name="author" content="$author-meta$" /> | 10 | <meta name="author" content="$it.name$$if(it.email)$ <$it.email$>$endif$" /> |
11 | $endfor$ | 11 | $endfor$ |
12 | $if(date-meta)$ | 12 | $if(date-meta)$ |
13 | <meta name="dcterms.date" content="$date-meta$" /> | 13 | <meta name="dcterms.date" content="$date-meta$" /> |
@@ -53,7 +53,7 @@ $body$ | |||
53 | 53 | ||
54 | $if(section.is_blog)$ | 54 | $if(section.is_blog)$ |
55 | $if(pages.not_empty)$ | 55 | $if(pages.not_empty)$ |
56 | ${categories.blog:categoryRef()} | 56 | ${categoryRef()} |
57 | ${pagelistByYear()} | 57 | ${pagelistByYear()} |
58 | $endif$ | 58 | $endif$ |
59 | $endif$ | 59 | $endif$ |