update setting

This commit is contained in:
app-harry 2024-10-27 11:23:03 +08:00
parent e4a0dfe229
commit 8492c8a596
5 changed files with 18 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/_output/*
!/_output/AUTO_GEN_FOLDER_DO_NOT_EDIT_FILE_HERE
.DS_Store

View File

@ -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>

View File

@ -14,6 +14,9 @@ plugins:
- MediumFollowersCountPlugin:
username: zhgchgli
# Google Analytics tracking id
google_analytics_id:
# HTML Title
title: "ZhgChgLi's Links"

View File

@ -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>