diff options
| author | Christine Dodrill <me@christine.website> | 2019-02-13 07:18:39 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-02-13 07:18:39 -0800 |
| commit | a87c90cedf00e1d562c0f3c9dc57ada360b01ab2 (patch) | |
| tree | 4b9764f446131ab4933ec5b3b6acbc89d973d089 | |
| parent | 01df196e0ec32bc3046feeb896cfe47e0713b311 (diff) | |
| download | xesite-a87c90cedf00e1d562c0f3c9dc57ada360b01ab2.tar.xz xesite-a87c90cedf00e1d562c0f3c9dc57ada360b01ab2.zip | |
templates/blogpost: json-LD
| -rw-r--r-- | templates/blogpost.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/blogpost.html b/templates/blogpost.html index fb87f17..f0549ff 100644 --- a/templates/blogpost.html +++ b/templates/blogpost.html @@ -15,6 +15,29 @@ <!-- Description --> <meta name="description" content="{{ .Title }} - Christine Dodrill's Blog" /> <meta name="author" content="Christine Dodrill"> + +<script type="application/ld+json"> + { + "@context": "http://schema.org", + "@type": "Article", + "headline": "{{ .Title }}", + "image": "https://christine.website/static/img/avatar.png", + "url": "https://christine.website/{{ .Link }}", + "datePublished": "{{ .Date }}", + "mainEntityOfPage": { + "@type": "WebPage", + "@id": "https://christine.website/{{ .Link }}" + }, + "author": { + "@type": "Person", + "name": "Christine Dodrill" + }, + "publisher": { + "@type": "Person", + "name": "Christine Dodrill" + } + } +</script> {{ end }} {{ define "content" }} |
