diff options
| author | Volpeon <git@volpeon.ink> | 2021-01-06 14:49:43 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-01-06 14:49:43 +0100 |
| commit | b26abc90439e5e1d25176ffa80f7ba0b34b3fa43 (patch) | |
| tree | 14a3fff849ac7de28b37e0c9193e7d0f5ca26630 /templates/list.html | |
| parent | Moved all metadata processing from the build script into a Pandoc Lua filter (diff) | |
| download | volpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.tar.gz volpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.tar.bz2 volpeon.ink-b26abc90439e5e1d25176ffa80f7ba0b34b3fa43.zip | |
Improved subpage organization code in metadata filter
Diffstat (limited to 'templates/list.html')
| -rw-r--r-- | templates/list.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/list.html b/templates/list.html index 2d663e0..d74681c 100644 --- a/templates/list.html +++ b/templates/list.html | |||
| @@ -8,15 +8,13 @@ $if(categories)$ | |||
| 8 | </ul> | 8 | </ul> |
| 9 | $endif$ | 9 | $endif$ |
| 10 | 10 | ||
| 11 | $for(pages)$ | 11 | $for(pages.by_year)$ |
| 12 | $for(it.by_year)$ | 12 | <ul> |
| 13 | <ul> | 13 | $for(it.value)$ |
| 14 | $for(it.value)$ | 14 | <li class="c-page__prefixed c-page__prefixed--ref"> |
| 15 | <li class="c-page__prefixed c-page__prefixed--ref"> | 15 | <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> |
| 16 | <a href="$it.url.rel$">$it.category/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a> | 16 | </li> |
| 17 | </li> | 17 | $endfor$ |
| 18 | $endfor$ | 18 | </ul> |
| 19 | </ul> | ||
| 20 | $endfor$ | ||
| 21 | $endfor$ | 19 | $endfor$ |
| 22 | 20 | ||
