added rss

This commit is contained in:
Gabriele Musco 2020-08-24 09:05:01 +02:00
parent f9eb307cca
commit 4833003882
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,9 @@
</div>
</div>
<div id="links">
{{ if .Site.Params.showRss | default true }}
{{- partial "nerdlink" ["RSS", "/index.xml"] -}}
{{ end }}
{{ range .Site.Params.links }}
{{- partial "nerdlink" . -}}
{{ end }}

View File

@ -25,6 +25,8 @@
&#xf2c6;
{{ else if eq (lower (index . 0)) "phone" }}
&#xf095;
{{ else if eq (lower (index . 0)) "rss" }}
&#xf143;
{{ else }}
{{ index . 0 }}
{{ end }}