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

seo.html « partials « layouts - github.com/joway/hugo-theme-yinyang.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6cef19ff402a2af0bcbc1b13292e6dc99072b631 (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
<script type="application/ld+json">
  {
      "@context" : "http://schema.org",
      "@type" : "BlogPosting",
      "mainEntityOfPage": {
           "@type": "WebPage",
           "@id": "{{ .Site.BaseURL }}"
      },
      "articleSection" : "{{ .Section }}",
      "name" : "{{ .Title }}",
      "headline" : "{{ .Title }}",
      {{ if .IsHome -}}
      "description" : "{{ .Site.Params.description }}",
      {{- else -}}
      "description" : "{{ default .Summary .Description }}",
      {{- end }}
      "inLanguage" : "en-US",
      "author" : "{{ .Site.Author.name }}",
      "creator" : "{{ .Site.Author.name }}",
      "publisher": "{{ .Site.Author.name }}",
      "accountablePerson" : "{{ .Site.Author.name }}",
      "copyrightHolder" : "{{ .Site.Author.name }}",
      "copyrightYear" : "{{ .Date.Format "2006" }}",
      "datePublished": "{{ .Date }}",
      "dateModified" : "{{ .Date }}",
      "url" : "{{ .Permalink }}",
      "keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }} ]
  }
</script>