mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2026-01-05 18:47:22 +00:00
explicit link to rss
This commit is contained in:
18
layouts/partials/footer.html
Normal file
18
layouts/partials/footer.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ 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 href="{{ $url | absURL }}">{{ . }}</a>
|
||||
{{ if lt $k (sub $tagsLen 1) }}·{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</main>
|
||||
<footer><p><a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a></p>
|
||||
<p><a href="/index.xml"><img src="/pix/rss.svg" style="max-height:.9em;display:inline" alt="RSS"> Subscribe via RSS for New Recipes</a></p></footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user