mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
653e6856ea
commit
46cafdbaca
1 changed files with 3 additions and 1 deletions
|
@ -6,5 +6,7 @@
|
|||
<title>{{ .Title }} - {{ .Site.BaseURL }}</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ partial "header.includes.html" . }}
|
||||
{{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType .Title | safeHTML }}
|
||||
{{- end }}
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue