diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 15:23:11 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-15 15:23:11 +0100 |
commit | 012ed929d594f0585fd7008c7243be8f330c829b (patch) | |
tree | c379a406224726e02dc803c51eba0f729c46130e /layouts/recipes | |
parent | edc1f4261cdbfe15f6680cb5a38abc4f09df1a4e (diff) |
Reuse taglist css in recipes
Diffstat (limited to 'layouts/recipes')
-rw-r--r-- | layouts/recipes/single.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html index 8362b88..c4876a9 100644 --- a/layouts/recipes/single.html +++ b/layouts/recipes/single.html @@ -6,9 +6,11 @@ <article> <header> <h1>{{ .Title }}</h1> - {{- range .Params.tags }} - <a href="/tags/{{ . | lower }}">#{{ . }}</a> - {{- end }} + <ul class="taglist"> + {{- range sort .Params.tags }} + <li><a class="tag" href="/tags/{{ . | lower }}">{{ . }}</a></li> + {{- end }} + </ul> {{- if .Draft }} <section class="admonition"> <div class="admonition-title"> |