diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-10-15 22:22:18 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-10-16 11:34:26 +0200 |
| commit | 402107a237a7039b0aa2028f6c21939e53c98dc4 (patch) | |
| tree | 7a3f72fbe0c078963ed44fbbedaf3f79b9e3f8b9 /templates/list.html | |
| parent | eeb4696a91788a560d6097472099a658ad9918d4 (diff) | |
| download | reploy-402107a237a7039b0aa2028f6c21939e53c98dc4.tar.gz reploy-402107a237a7039b0aa2028f6c21939e53c98dc4.tar.bz2 | |
support tag metadata, make much everything nicer
Diffstat (limited to 'templates/list.html')
| -rw-r--r-- | templates/list.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/templates/list.html b/templates/list.html index 5ae7db0..8fe58e4 100644 --- a/templates/list.html +++ b/templates/list.html @@ -4,26 +4,23 @@ <body> {{> header.html}} <h1> -{{?htag}} Category listing: {{#htag}} <a href="{{href}}"> - {{^tag}}all{{/tag}} - {{?tag}}» {{tag}}{{/tag}} + {{?name}}» {{name}}{{/name}} </a> {{/htag}} -{{/htag}} </h1> <p>See the <a href="{{taghref}}">hierarchical view of this category</a>.</p> {{?subtags}}<h3>Sub-categories</h3> <ul> {{#subtags}} - <li><a href="{{href}}">{{#tags}} » {{.}} {{/tags}}</a></li> + <li>{{name}} (<a href="{{href}}">{{#htag}} » {{name}} {{/htag}}</a>)</li> {{/subtags}} </ul> {{/subtags}} {{?pages}} - <h3>Cards</h3> + <h3>Pages</h3> <ul> {{#pages}} <li><a href="{{href}}">{{meta.title}}</a></li> |
