Merge pull request #110 from badele/fix-rss

Fix empty RSSLink issue #101
This commit is contained in:
Michael Romero 2017-12-27 23:50:59 -08:00 committed by GitHub
commit 9d53238842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -17,7 +17,11 @@
{{ end }}
{{ if .Site.Params.rss }}
<li>
{{ if .RSSLink }}
<a href="{{ .RSSLink }}" title="RSS">
{{ else }}
<a href="{{ .Site.RSSLink }}" title="RSS">
{{ end }}
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>