consider real rss feed link (baseName) for social icon #136
This commit is contained in:
parent
2f24c40515
commit
0a9b5ae9bb
@ -25,12 +25,13 @@
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rssAsSocialIcon }}
|
||||
{{ $url := "/index.xml" | relLangURL }}
|
||||
<li>
|
||||
<a {{ printf "href=%q" $url | safeHTMLAttr }} title="RSS" rel="me">
|
||||
{{ partial "font-awesome.html" (dict "iconName" "rss" "custom" false) }}
|
||||
</a>
|
||||
</li>
|
||||
{{ with .Site.Home.OutputFormats.Get "rss" -}}
|
||||
<li>
|
||||
<a {{ printf "href=%q" .Permalink | safeHTMLAttr }} title="RSS" rel="me">
|
||||
{{ partial "font-awesome.html" (dict "iconName" "rss" "custom" false) }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
|
||||
</ul>
|
Loading…
Reference in New Issue
Block a user