@ -8,7 +8,7 @@
|
|||||||
{{- partial "site-meta.html" . -}}
|
{{- partial "site-meta.html" . -}}
|
||||||
{{ $author := (.Params.author | default .Site.Params.author.name) -}}<meta name="author" content="{{ $author }}">
|
{{ $author := (.Params.author | default .Site.Params.author.name) -}}<meta name="author" content="{{ $author }}">
|
||||||
{{- with .Page.Params.description | default .Site.Params.description -}}<meta name="description" content="{{.}}">{{- end -}}
|
{{- with .Page.Params.description | default .Site.Params.description -}}<meta name="description" content="{{.}}">{{- end -}}
|
||||||
{{- partial "structured-data.html" . -}}
|
{{- partial "structure-extra.html" . -}}
|
||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
{{ range .AlternativeOutputFormats -}}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Title | safeHTML }}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{{- with .Site.Params.socialLinks -}}
|
{{- with .Site.Params.socialLinks -}}
|
||||||
<span class="hdr-social hide-in-mobile">{{- partialCached "social-icons.html" . -}}</span>
|
<span class="hdr-social hide-in-mobile">{{- partialCached "social-icons.html" . -}}</span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if and (not (eq .Site.Params.shareSocial nil)) (.Site.Params.shareSocial) -}}{{- partial "social-share.html" . -}}{{- end -}}
|
{{- if and (not (eq .Site.Params.shareSocial nil)) (.Site.Params.shareSocial) (templates.Exists "partials/social-share.html") -}}{{- partial "social-share.html" . -}}{{- end -}}
|
||||||
<button id="menu-btn" class="hdr-btn" title="{{i18n "menu"}}">{{- partial "svg.html" (dict "context" . "name" "menuBtn") -}}</button>
|
<button id="menu-btn" class="hdr-btn" title="{{i18n "menu"}}">{{- partial "svg.html" (dict "context" . "name" "menuBtn") -}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
6
layouts/partials/structure-extra.html
Normal file
6
layouts/partials/structure-extra.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{{/* We use some Hugo built-in templates, you can find their source here: */}}
|
||||||
|
{{/* https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
|
||||||
|
|
||||||
|
{{- template "_internal/schema.html" . -}}
|
||||||
|
{{- template "_internal/opengraph.html" . -}}
|
||||||
|
{{- template "_internal/twitter_cards.html" . -}}
|
Reference in New Issue
Block a user