diff options
author | Volpeon <git@volpeon.ink> | 2020-12-29 21:24:31 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-29 21:24:31 +0100 |
commit | 435e558193d7d5f2e04b1bfe2295a5070aa14cc9 (patch) | |
tree | 98d06440bbe720316d911717ddd78f08d9c6406a /templates | |
parent | Added definition list styling (diff) | |
download | volpeon.ink-435e558193d7d5f2e04b1bfe2295a5070aa14cc9.tar.gz volpeon.ink-435e558193d7d5f2e04b1bfe2295a5070aa14cc9.tar.bz2 volpeon.ink-435e558193d7d5f2e04b1bfe2295a5070aa14cc9.zip |
Fixed regression: Category showed up in child pages as well
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 0704388..9574d08 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -52,8 +52,10 @@ ${pageHeader()} | |||
52 | $body$ | 52 | $body$ |
53 | 53 | ||
54 | $if(section.is_blog)$ | 54 | $if(section.is_blog)$ |
55 | ${categories.blog:categoryRef()} | 55 | $if(pages.not_empty)$ |
56 | ${pagelistByYear()} | 56 | ${categories.blog:categoryRef()} |
57 | ${pagelistByYear()} | ||
58 | $endif$ | ||
57 | $endif$ | 59 | $endif$ |
58 | </div> | 60 | </div> |
59 | </main> | 61 | </main> |