fixed rss
This commit is contained in:
parent
639ff574fd
commit
2f27799f80
|
@ -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" . -}}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{{ else if eq (lower (index . 0)) "phone" }}
|
||||

|
||||
{{ else if eq (lower (index . 0)) "rss" }}
|
||||

|
||||

|
||||
{{ else }}
|
||||
{{ index . 0 }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue