mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2024-12-04 19:35:43 +00:00
20 lines
829 B
HTML
20 lines
829 B
HTML
{{ if isset .Params "tags" }}
|
|
{{ $tagsLen := len .Params.tags }}
|
|
{{ if gt $tagsLen 0 }}
|
|
<div class=taglist>
|
|
See related:<br>
|
|
{{ range $k, $v := .Params.tags }}
|
|
{{ $url := printf "tags/%s" (. | urlize | lower) }}
|
|
<a id="tag_{{ . }}" href="{{ $url | absURL }}">{{ . | title }}</a>
|
|
{{ if lt $k (sub $tagsLen 1) }}·{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
</main>
|
|
<footer><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a><br>
|
|
All site content is in the public domain.<br>
|
|
<a href="/index.xml"><img src="/pix/rss.svg" style="max-height:.9em;display:inline" alt="RSS"> Subscribe via RSS for New Recipes</a></footer>
|
|
</body>
|
|
</html>
|