From 3e59ad2e5188afceef8c85717fa0fd0215527092 Mon Sep 17 00:00:00 2001 From: Emiliano Tortorella Date: Sat, 2 Feb 2019 18:30:19 -0500 Subject: [PATCH] Added schema to improve SEO. --- layouts/_default/baseof.html | 2 + layouts/partials/site-schema.html | 121 ++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 layouts/partials/site-schema.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4ad6b53..a385772 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -57,6 +57,8 @@ {{ end }} + {{- partial "site-schema.html" . -}} + {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ template "_internal/google_analytics_async.html" . }} {{ end }} diff --git a/layouts/partials/site-schema.html b/layouts/partials/site-schema.html new file mode 100644 index 0000000..31ba871 --- /dev/null +++ b/layouts/partials/site-schema.html @@ -0,0 +1,121 @@ +{{ if .IsHome -}} + +{{- else if .IsPage -}} + +{{- else -}} + +{{- end }}