Skip to content

Commit bd3ec5f

Browse files
committedApr 1, 2019
✨ add google analytics
1 parent cc3b1c8 commit bd3ec5f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ canonifyURLs: true
33
languageCode: "zh-cn"
44
title: "ecFlow教程中文版"
55
theme: "hugo-theme-learn"
6+
googleAnalytics: UA-137359293-2
67
params:
78
ordersectionsby: weight

‎layouts/partials/custom-footer.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- Partial intended to be overwritten with tags loaded at the end of the page loading (usually for Javascript)
2+
<script>
3+
console.log("running some javascript");
4+
</script>
5+
-->
6+
{{ template "_internal/google_analytics.html" . }}

0 commit comments

Comments
 (0)
Please sign in to comment.