Skip to content

Commit

Permalink
Don't show RSSlink in taxonomy roots - not until gohugoio/hugo#1302 i…
Browse files Browse the repository at this point in the history
…s fixed
  • Loading branch information
crazyscot committed Jul 13, 2016
1 parent c260cf8 commit 3ae05cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/partials/social.html
Expand Up @@ -4,10 +4,12 @@
<ul class="socialmenu">

{{ if .RSSlink }}
{{ if and (ne .URL "/categories/") (ne .URL "/tags/") }}{{/* work around https://github.com/spf13/hugo/issues/1302 */}}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ .RSSlink }}"><i class="fa fa-rss fa-fw"></i>RSS</a>
</li>
{{ end }}
{{ end }}

<!-- SNS microblogging -->
{{ with .Site.Social.twitter }}
Expand Down

0 comments on commit 3ae05cf

Please sign in to comment.