fixed rss

This commit is contained in:
Gabriele Musco 2020-08-24 09:10:55 +02:00
parent 639ff574fd
commit 2f27799f80
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
</div>
<div id="links">
{{ if .Site.Params.showRss | default true }}
{{- partial "nerdlink" ["RSS", "/index.xml"] -}}
{{- partial "nerdlink" (slice "RSS" "/index.xml") -}}
{{ end }}
{{ range .Site.Params.links }}
{{- partial "nerdlink" . -}}

View File

@ -26,7 +26,7 @@
{{ else if eq (lower (index . 0)) "phone" }}
&#xf095;
{{ else if eq (lower (index . 0)) "rss" }}
&#xf143;
&#xf09e;
{{ else }}
{{ index . 0 }}
{{ end }}