diff options
| author | Volpeon <git@volpeon.ink> | 2021-01-01 22:29:18 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-01-01 22:29:18 +0100 |
| commit | d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e (patch) | |
| tree | 0815f53de784260d05fbbe8e03ffffb694bda12f /templates/list.html | |
| parent | Support drafts via _ prefix in filename (diff) | |
| download | volpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.tar.gz volpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.tar.bz2 volpeon.ink-d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e.zip | |
Small design revisions
Diffstat (limited to 'templates/list.html')
| -rw-r--r-- | templates/list.html | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/templates/list.html b/templates/list.html index 3522754..4d62d47 100644 --- a/templates/list.html +++ b/templates/list.html | |||
| @@ -1,4 +1,22 @@ | |||
| 1 | $body$ | 1 | $body$ |
| 2 | 2 | ||
| 3 | ${partials/categoriesById()} | 3 | $if(categories.by_id)$ |
| 4 | ${partials/pagelistByYear()} | 4 | <ul class="c-hlist"> |
| 5 | $for(categories.by_id)$ | ||
| 6 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li> | ||
| 7 | $endfor$ | ||
| 8 | </ul> | ||
| 9 | $endif$ | ||
| 10 | |||
| 11 | $for(pages)$ | ||
| 12 | $for(it.by_year)$ | ||
| 13 | <ul> | ||
| 14 | $for(it.value)$ | ||
| 15 | <li class="c-page__prefixed c-page__prefixed--ref"> | ||
| 16 | <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> | ||
| 17 | </li> | ||
| 18 | $endfor$ | ||
| 19 | </ul> | ||
| 20 | $endfor$ | ||
| 21 | $endfor$ | ||
| 22 | |||
