fix non-default language rss links
This commit is contained in:
parent
78cf457c06
commit
8fdf270268
|
@ -14,7 +14,7 @@
|
|||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rss }}
|
||||
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ "/index.xml" | absLangURL }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
<a class="level-item" aria-label="rss" target="_blank" rel="noopener" href="{{ "/index.xml" | absLangURL }}">
|
||||
<span class="icon rss">
|
||||
<i>
|
||||
{{- partial "svg/icons" "rss" -}}
|
||||
</i>
|
||||
</span>
|
||||
</a>
|
||||
{{- range $.Site.Home.AllTranslations }}
|
||||
<a class="level-item" href="{{ .Permalink }}">{{ .Language.Lang }}</a>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue