summaryrefslogtreecommitdiff
path: root/layouts/recipes/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/recipes/single.html')
-rw-r--r--layouts/recipes/single.html8
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">