Bläddra i källkod

Fixes #212. (#213)

tags/2.53
Jesse 5 år sedan
förälder
incheckning
287b3ff5e9
1 ändrade filer med 5 tillägg och 3 borttagningar
  1. 5
    3
      layouts/_default/baseof.html

+ 5
- 3
layouts/_default/baseof.html Visa fil

@@ -28,10 +28,12 @@
{{ end }}

{{ if .OutputFormats.Get "RSS" }}
<link href="{{ .OutputFormats.Get "RSS" }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .OutputFormats.Get "RSS" }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
{{ end }}
{{ end }}

{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}}

Laddar…
Avbryt
Spara