summaryrefslogtreecommitdiffstats
path: root/layouts/partials/templates
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/templates')
-rw-r--r--layouts/partials/templates/schema_json.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html
new file mode 100644
index 0000000..aaed1e2
--- /dev/null
+++ b/layouts/partials/templates/schema_json.html
@@ -0,0 +1,5 @@
+{{ if .IsHome }}
+ {{ partial "schema.org/website.html" . }}
+{{ else if and .IsPage (ne .Params.private true) }}
+ {{ partial "schema.org/article.html" . }}
+{{ end }}