#86, Add google analytics to readme, move GA and enable Open Graph in head

This commit is contained in:
Alex Shpak
2019-10-03 14:10:03 +02:00
parent 397ebbc2a4
commit 22ff783d86
5 changed files with 21 additions and 14 deletions
-1
View File
@@ -25,7 +25,6 @@
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>
-1
View File
@@ -22,7 +22,6 @@ You can override this page in:
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>
+4
View File
@@ -1,5 +1,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{- template "_internal/opengraph.html" . -}}
<title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title>
<!-- Theme stylesheet, you can customize scss by creating `assets/custom.scss` in your website -->
@@ -23,3 +25,5 @@
Made with Book Theme
https://github.com/alex-shpak/hugo-book
{{ "-->" | safeHTML }}
{{ template "_internal/google_analytics_async.html" . }}
-1
View File
@@ -25,7 +25,6 @@
</main>
{{ partial "docs/inject/body" . }}
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>