From b52974091e2530751f711e9a9f255ebb46e0c6da Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Wed, 25 Jul 2018 09:47:59 +0200 Subject: [PATCH] Google Structured Data --- config.toml | 1 + layouts/partials/head-open.html | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/config.toml b/config.toml index 9026019e..556fa36d 100644 --- a/config.toml +++ b/config.toml @@ -7,6 +7,7 @@ pygmentCodeFences = true googleAnalytics = "UA-45748221-1" publishDir = "docs" enableEmoji = true +enableRobotsTXT = true [taxonomies] tag = "tags" diff --git a/layouts/partials/head-open.html b/layouts/partials/head-open.html index da312e37..89f12a67 100644 --- a/layouts/partials/head-open.html +++ b/layouts/partials/head-open.html @@ -1,4 +1,6 @@ + + {{ if .Params.subtitle }} @@ -36,4 +38,44 @@ {{ end }}{{ end }} + + + {{ template "_internal/google_analytics_async.html" . }}