diff options
| author | Volpeon <git@volpeon.ink> | 2021-12-28 21:18:02 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-12-28 21:18:02 +0100 |
| commit | 80716c79a7db19d6d95070125e1af7946a9849ec (patch) | |
| tree | 626b9691a6af0db2a033d2bd9adc2dc58c0d8925 /templates/base.html | |
| parent | Use timeout to remove snowflake (diff) | |
| download | volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.tar.gz volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.tar.bz2 volpeon.ink-80716c79a7db19d6d95070125e1af7946a9849ec.zip | |
Support for more complex layouts
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/base.html b/templates/base.html index c1e1f4f..252069a 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -63,17 +63,17 @@ | |||
| 63 | </nav> | 63 | </nav> |
| 64 | 64 | ||
| 65 | <main> | 65 | <main> |
| 66 | <div class="l-container l-container--pad-x l-container--pad-y l-container--content"> | 66 | $if(layout.is_categorized_list)$ |
| 67 | $if(layout.is_categorized_list)$ | ||
| 68 | ${layouts/categorized_list()} | 67 | ${layouts/categorized_list()} |
| 69 | $elseif(layout.is_list)$ | 68 | $elseif(layout.is_list)$ |
| 70 | ${layouts/list()} | 69 | ${layouts/list()} |
| 71 | $elseif(layout.is_redirect)$ | 70 | $elseif(layout.is_redirect)$ |
| 72 | ${layouts/redirect()} | 71 | ${layouts/redirect()} |
| 73 | $else$ | 72 | $elseif(layout.is_gallery)$ |
| 73 | ${layouts/gallery()} | ||
| 74 | $else$ | ||
| 74 | ${layouts/page()} | 75 | ${layouts/page()} |
| 75 | $endif$ | 76 | $endif$ |
| 76 | </div> | ||
| 77 | </main> | 77 | </main> |
| 78 | 78 | ||
| 79 | <footer class="c-footer"> | 79 | <footer class="c-footer"> |
