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