Ability to toggle RSS
Ability to toggle RSS feed by setting .Site.Params.rss (defined in config.toml in the [Params] section)
This commit is contained in:
parent
f4ce4ee357
commit
50fad43b1f
@ -12,6 +12,7 @@ pygmentCodeFences = true
|
|||||||
logo = "img/avatar-icon.png"
|
logo = "img/avatar-icon.png"
|
||||||
favicon = "img/favicon.ico"
|
favicon = "img/favicon.ico"
|
||||||
commit = false
|
commit = false
|
||||||
|
rss = true
|
||||||
|
|
||||||
[Author]
|
[Author]
|
||||||
name = "Some Person"
|
name = "Some Person"
|
||||||
|
@ -163,7 +163,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Site.Params.rss }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Site.BaseURL}}index.xml" title="RSS">
|
<a href="{{ .Site.BaseURL}}index.xml" title="RSS">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
@ -172,7 +172,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
<p class="credits copyright text-muted">
|
<p class="credits copyright text-muted">
|
||||||
{{ .Site.Author.name }}
|
{{ .Site.Author.name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user