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

blog-post-jsonld.html « partials « layouts - github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 89f12228fcd88b2cf26af0e20d2457fc7fb6709c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "@context": "http://schema.org",
  "@type": "BlogPosting",
  "url": "{{ .Permalink }}",
  "headline": "{{ .Title }}",
  "description": "{{ .Description }}",
  "datePublished": "{{ .PublishDate.Format "2006-01-02" }}",
  {{ if .Params.Tags }}
    "keywords": "{{ delimit .Params.Tags "," }}",
  {{ end }}
  "image": "{{ index .Params.images 0 | absURL }}",
  "author": {
    "@type": "Person",
    "name": "{{ .Site.Author.name }}",
    {{ with .Site.GetPage "/about" }}
      "url": "{{ .Permalink }}"
    {{ end }}
  }
}