commit
e689746014
1 changed files with 5 additions and 10 deletions
|
@ -36,15 +36,10 @@
|
||||||
{{ range .Params.categories }}<meta property="article:section" content="{{ . }}" />{{ end }}
|
{{ range .Params.categories }}<meta property="article:section" content="{{ . }}" />{{ end }}
|
||||||
{{ if isset .Params "date" }}<meta property="article:published_time" content="{{ time .Date }}" />{{ end }}
|
{{ if isset .Params "date" }}<meta property="article:published_time" content="{{ time .Date }}" />{{ end }}
|
||||||
|
|
||||||
<!-- RSS -->
|
<!-- RSS | JSON -->
|
||||||
{{ if .RSSLink }}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
<link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
|
||||||
<!-- JSON Feed -->
|
|
||||||
{{ if .OutputFormats.Get "json" }}
|
|
||||||
<link href="{{ if .OutputFormats.Get "json" }}{{ "feed.json" | absURL }}{{ end }}" rel="alternate" type="application/json" title="{{ .Site.Title }}" />
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<!-- head custom -->
|
<!-- head custom -->
|
||||||
{{- partial "extended_head.html" . }}
|
{{- partial "extended_head.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue