diff options
author | ache <ache@ache.one> | 2024-08-10 06:47:41 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2024-08-10 06:47:41 +0200 |
commit | db6f518520f82288884bc2049e41b45ec41e9c57 (patch) | |
tree | 77e321d48f2f9fb61b4b85af4ebd5dd569fbc00a /src/templates/tag.tmpl | |
parent | Update smol-toml (diff) |
Support for notes
Diffstat (limited to 'src/templates/tag.tmpl')
-rw-r--r-- | src/templates/tag.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/templates/tag.tmpl b/src/templates/tag.tmpl index f73365d..710fb0f 100644 --- a/src/templates/tag.tmpl +++ b/src/templates/tag.tmpl @@ -16,6 +16,19 @@ </li> {{/ articles}} </ul> + {{#notes.length}} + <ul class="notesList"> + {{# notes}} + <h2>Notes</h2> + <li><a href="{{ url }}"><span class="pubYear">{{ pubYear }}</span>{{ title }}</a> + {{# metaData.tags }} + <a href="/{{ lang }}/tag/{{{ . }}}" class="inline-tag">{{{ . }}}</a> + {{/ metaData.tags }} + </li> + {{/ notes}} + </ul> + {{/notes.length}} + </article> <div class="sidenotes"></div> </div> |