2022-04-27 13:54:00 +00:00
|
|
|
<footer class="footer">
|
2022-05-13 12:12:07 +00:00
|
|
|
<div class="footer-row">
|
2022-05-16 10:38:33 +00:00
|
|
|
<a class="footer-item" href="{{ "/index.xml" | relURL }}">
|
2022-05-16 12:41:20 +00:00
|
|
|
Feed of ALL
|
2022-05-16 10:38:33 +00:00
|
|
|
<i class="icofont-rss"></i>
|
|
|
|
</a>
|
2022-05-16 12:41:20 +00:00
|
|
|
|
|
|
|
{{ if gt (len .Site.Sections) 1 }}
|
|
|
|
{{ range .Site.Sections }}
|
|
|
|
{{ $page := . }}
|
|
|
|
{{ with .OutputFormats.Get "rss" }}
|
|
|
|
<a class="footer-item" href="{{ .Permalink }}">
|
|
|
|
Feed of {{ with $page.Title }}{{ $page.Title }}{{ end }}
|
|
|
|
<i class="icofont-rss"></i>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if not (or .IsHome .IsSection) }}
|
|
|
|
{{ $page := . }}
|
2022-05-13 12:12:07 +00:00
|
|
|
{{ with .OutputFormats.Get "rss" }}
|
2022-05-16 10:38:33 +00:00
|
|
|
<a class="footer-item" href="{{ .Permalink }}">
|
2022-05-16 12:41:20 +00:00
|
|
|
Feed of "{{ with $page.Title }}{{ $page.Title }}{{ end }}"
|
2022-05-16 10:38:33 +00:00
|
|
|
<i class="icofont-rss"></i>
|
|
|
|
</a>
|
2022-05-13 12:12:07 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2022-04-27 13:54:00 +00:00
|
|
|
{{ range .Site.Params.footer_rows }}
|
|
|
|
<div class="footer-row">
|
|
|
|
{{ range .items }}
|
|
|
|
{{ with .pre }}
|
|
|
|
<span class="footer-item">{{ . | safeHTML }}</span>
|
|
|
|
{{ else }}
|
2022-05-13 12:12:07 +00:00
|
|
|
<a class="footer-item" href="{{ .url }}">{{ .name }}</a>
|
2022-04-27 13:54:00 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-05-13 12:12:07 +00:00
|
|
|
</footer>
|