summaryrefslogtreecommitdiff
path: root/templates/includes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/includes')
-rw-r--r--templates/includes/blog-json-ld.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/includes/blog-json-ld.html b/templates/includes/blog-json-ld.html
new file mode 100644
index 0000000..63d3c66
--- /dev/null
+++ b/templates/includes/blog-json-ld.html
@@ -0,0 +1,20 @@
+<script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "Blog",
+ "@id": "{{ '/blog' | url(absolute=True, external=True) }}#blog",
+ "name": "{{ bag('blog.name') }}",
+ "description": "{{ bag('blog.tagline') }}",
+ "url": "{{ '/blog' | url(absolute=True, external=True) }}",
+ "inLanguage": "en",
+ "isPartOf": {
+ "@id": "{{ '/' | url(absolute=True, external=True) }}#website"
+ },
+ "author": {
+ "@id": "{{ '/about' | url(absolute=True, external=True) }}#person"
+ },
+ "publisher": {
+ "@id": "{{ '/about' | url(absolute=True, external=True) }}#person"
+ }
+ }
+</script>