added rss
This commit is contained in:
parent
f9eb307cca
commit
4833003882
|
@ -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 }}
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||

|
||||
{{ else if eq (lower (index . 0)) "phone" }}
|
||||

|
||||
{{ else if eq (lower (index . 0)) "rss" }}
|
||||

|
||||
{{ else }}
|
||||
{{ index . 0 }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue