fixed rss
This commit is contained in:
parent
639ff574fd
commit
2f27799f80
|
@ -21,7 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="links">
|
<div id="links">
|
||||||
{{ if .Site.Params.showRss | default true }}
|
{{ if .Site.Params.showRss | default true }}
|
||||||
{{- partial "nerdlink" ["RSS", "/index.xml"] -}}
|
{{- partial "nerdlink" (slice "RSS" "/index.xml") -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range .Site.Params.links }}
|
{{ range .Site.Params.links }}
|
||||||
{{- partial "nerdlink" . -}}
|
{{- partial "nerdlink" . -}}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
{{ else if eq (lower (index . 0)) "phone" }}
|
{{ else if eq (lower (index . 0)) "phone" }}
|
||||||

|

|
||||||
{{ else if eq (lower (index . 0)) "rss" }}
|
{{ else if eq (lower (index . 0)) "rss" }}
|
||||||

|

|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ index . 0 }}
|
{{ index . 0 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue