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

meta.html « partials « layouts - github.com/allnightgrocery/hugo-theme-blueberry-detox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: feee0e7c9b89052ffa65406c4b95b4c7e9232814 (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 http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="description" content="{{ if .IsNode }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ else }}{{ with .Description }}{{ . }}{{ end }}{{ end }}">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
        <meta name="mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="author" content="{{ .Site.Params.author }}">
  {{ with .Site.Params.keywords }}
        <meta name="keywords" content="{{ range $index, $element := $.Site.Params.keywords }}{{ if gt $index 0 }}, {{ end }}{{ . | safeHTML }}{{ else }}{{ . | safeHTML }}{{ end }}">
  {{ end }}
	{{ with .Site.Params.twitter_name }}
        <meta name="twitter:card" content="summary">
        <meta name="twitter:site" content="@https://twitter.com/{{ . }}">
        <meta name="twitter:creator" content="@https://twitter.com/{{ . }}">
        <meta name="twitter:domain" content="{{ $.Site.BaseURL }}">
	{{ end }}
        <meta property="og:site_name" content="{{ .Site.Title }}">
        <meta property="og:title" content="{{ .Site.Title }}">
        <meta property="og:url" content="{{ .Permalink }}">
        <meta property="og:description" content="{{ .Site.Params.description }}">
    {{ if .IsPage }}
        <meta property="og:type" content="article" />
        <meta property="og:article:author" content="{{ .Site.Params.author }}" />
        <meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
    {{ else }}
        <meta property="og:type" content="website" />
    {{ end }}
        {{ .Hugo.Generator }}