update setting
This commit is contained in:
parent
e4a0dfe229
commit
8492c8a596
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/_output/*
|
||||
!/_output/AUTO_GEN_FOLDER_DO_NOT_EDIT_FILE_HERE
|
||||
.DS_Store
|
@ -78,6 +78,7 @@
|
||||
</footer>
|
||||
</div>
|
||||
<script src="fontawesome/js/all.js" data-auto-replace-svg="nest"></script>
|
||||
|
||||
<script src="./scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -14,6 +14,9 @@ plugins:
|
||||
- MediumFollowersCountPlugin:
|
||||
username: zhgchgli
|
||||
|
||||
# Google Analytics tracking id
|
||||
google_analytics_id:
|
||||
|
||||
# HTML Title
|
||||
title: "ZhgChgLi's Links"
|
||||
|
||||
|
@ -41,6 +41,17 @@
|
||||
</footer>
|
||||
</div>
|
||||
<script src="fontawesome/js/all.js" data-auto-replace-svg="nest"></script>
|
||||
{% if google_analytics_id %}
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analytics_id }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '{{ google_analytics_id }}');
|
||||
</script>
|
||||
{% endif %}
|
||||
<script src="./scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user