diff options
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 | |||
