Welcome to mirror list, hosted at ThFree Co, Russian Federation.

meta.html « partials « layouts - github.com/de-souza/hugo-flex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9af6cf9683bfab9d37faa814ee2a1eed6f7c59f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

{{ with .Description }}
  <meta name="description" content="{{ . }}">
{{ else }}
  {{ if .IsPage }}
    <meta name="description" content="{{ .Summary }}">
  {{ else }}
    {{ with site.Params.description }}
      <meta name="description" content="{{ . }}">
    {{ end }}
  {{ end }}
{{ end }}

{{ if site.Params.schema }}
  {{ template "_internal/schema.html" . }}
{{ end }}

{{ if site.Params.opengraph }}
  {{ template "_internal/opengraph.html" . }}
{{ end }}

{{ if site.Params.twittercards }}
  {{ template "_internal/twitter_cards.html" . }}
{{ end }}

{{ hugo.Generator }}