diff options
author | Volpeon <git@volpeon.ink> | 2020-12-30 12:20:22 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-30 12:20:22 +0100 |
commit | 5e76fbedae19445a060611e6b2e630bed1c6b4fd (patch) | |
tree | 983b5ae7a7c0fe99c26f82e8f62cfa6c68c0ed91 | |
parent | Configurable deploy target (diff) | |
download | volpeon.ink-5e76fbedae19445a060611e6b2e630bed1c6b4fd.tar.gz volpeon.ink-5e76fbedae19445a060611e6b2e630bed1c6b4fd.tar.bz2 volpeon.ink-5e76fbedae19445a060611e6b2e630bed1c6b4fd.zip |
Fixed subtemplate selection in base template
-rw-r--r-- | templates/base.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 76dd0ba..e11ed5d 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -49,10 +49,14 @@ ${partials/pageHeader()} | |||
49 | </header> | 49 | </header> |
50 | $endif$ | 50 | $endif$ |
51 | 51 | ||
52 | $if(pages)$ | 52 | $if(is_home)$ |
53 | ${list()} | 53 | ${page()} |
54 | $else$ | 54 | $else$ |
55 | $if(pages)$ | ||
56 | ${list()} | ||
57 | $else$ | ||
55 | ${page()} | 58 | ${page()} |
59 | $endif$ | ||
56 | $endif$ | 60 | $endif$ |
57 | </div> | 61 | </div> |
58 | </main> | 62 | </main> |