breaking changes: 移除 cnzz 分析

feat: 導航欄可隱藏博客名字
feat: 導航欄可設置 logo closed #1104
This commit is contained in:
Jerry committed 2022-12-22 00:16:54 +08:00
1 parent e2565a9f39
commit 0f915f47ef
8 files changed
+43 -28

No files matched your search

+5 -5
View File
@@ -13,6 +13,10 @@ menu:
# Link: /link/ || fas fa-link
# About: /about/ || fas fa-heart
nav_info:
logo: # image
display_title: true # true or false
# Code Blocks (代碼相關)
# --------------------------------------
@@ -397,7 +401,7 @@ tidio:
public_key:
# daovoice
# http://daovoice.io/
# http://dashboard.daovoice.io/app
daovoice:
enable: false
app_id:
@@ -441,10 +445,6 @@ baidu_analytics:
# https://analytics.google.com/analytics/web/
google_analytics:
# CNZZ Analytics
# https://www.umeng.com/
cnzz_analytics:
# Cloudflare Analytics
# https://www.cloudflare.com/zh-tw/web-analytics/
cloudflare_analytics:
-3
View File
@@ -16,9 +16,6 @@ if theme.google_analytics
gtag('js', new Date());
gtag('config', '!{theme.google_analytics}');
if theme.cnzz_analytics
script(async data-pjax src=`https://s4.cnzz.com/z_stat.php?id=${theme.cnzz_analytics}&web_id=${theme.cnzz_analytics}`)
if theme.cloudflare_analytics
script(defer data-pjax src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon=`{"token": "${theme.cloudflare_analytics}"}`)
-3
View File
@@ -6,9 +6,6 @@ if theme.google_analytics
if theme.baidu_analytics
link(rel="preconnect" href="//hm.baidu.com")
if theme.cnzz_analytics
link(rel="preconnect" href="//s4.cnzz.com")
if theme.cloudflare_analytics
link(rel="preconnect" href="//static.cloudflareinsights.com")
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff. Show more