fix non-default language rss links
This commit is contained in:
parent
78cf457c06
commit
8fdf270268
|
@ -14,7 +14,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.rss }}
|
{{ 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 }}
|
{{ end }}
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
|
|
|
@ -22,6 +22,13 @@
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- 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 }}
|
{{- range $.Site.Home.AllTranslations }}
|
||||||
<a class="level-item" href="{{ .Permalink }}">{{ .Language.Lang }}</a>
|
<a class="level-item" href="{{ .Permalink }}">{{ .Language.Lang }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue