diff --git a/assets/css/_custom.scss b/assets/css/_custom.scss index b565345..ad0d7a3 100644 --- a/assets/css/_custom.scss +++ b/assets/css/_custom.scss @@ -47,7 +47,3 @@ details summary strong { margin-bottom: 0; } } - -.katex-display { - overflow-y: clip; -} diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 05e62a0..3593bb8 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1063,7 +1063,7 @@ enableEmoji = true # Analytics config [params.analytics] - enable = false + enable = true # Google Analytics [params.analytics.google] id = "" @@ -1074,6 +1074,31 @@ enableEmoji = true id = "" # server url for your tracker if you're self hosting server = "" + # FixIt 0.3.16 | NEW Baidu Analytics + [params.analytics.baidu] + id = "" + # FixIt 0.3.16 | NEW Umami Analytics + [params.analytics.umami] + data_website_id = "c687e659-a8de-4d17-a794-0fb82dd085f5" + src = "https://track.jamesflare.com/script.js" + data_host_url = "https://track.jamesflare.com" + data_domains = "" + # FixIt 0.3.16 | NEW Plausible Analytics + [params.analytics.plausible] + data_domain = "" + src = "" + # FixIt 0.3.16 | NEW Cloudflare Analytics + [params.analytics.cloudflare] + token = "" + # FixIt 0.3.16 | NEW Splitbee Analytics + [params.analytics.splitbee] + enable = false + # no cookie mode + no_cookie = true + # respect the do not track setting of the browser + do_not_track = true + # token(optional), more info on https://splitbee.io/docs/embed-the-script + data_token = "" # Cookie consent config [params.cookieconsent] diff --git a/layouts/partials/head/seo.html b/layouts/partials/head/seo.html deleted file mode 100644 index 5d879b3..0000000 --- a/layouts/partials/head/seo.html +++ /dev/null @@ -1,169 +0,0 @@ -{{- $params := .Scratch.Get "params" -}} - -{{- with .Site.Params.verification.google -}} - -{{- end -}} -{{- with .Site.Params.verification.bing -}} - -{{- end -}} -{{- with .Site.Params.verification.yandex -}} - -{{- end -}} -{{- with .Site.Params.verification.pinterest -}} - -{{- end -}} -{{- with .Site.Params.verification.baidu -}} - -{{- end -}} -{{- with .Site.Params.verification.so -}} - -{{- end -}} -{{- with .Site.Params.verification.sogou -}} - -{{- end -}} - - - -{{- /* Home SEO */ -}} -{{- if .IsHome -}} - - -{{- /* Page SEO */ -}} -{{- else if .IsPage -}} - {{- $authorName := .Site.Params.author.name | default (T "single.author") -}} - {{- with .Params.author -}} - {{- if reflect.IsMap . -}} - {{- $authorName = cond (isset . "name") .name $authorName -}} - {{- else -}} - {{- $authorName = . -}} - {{- end -}} - {{- end -}} - -{{- end -}} diff --git a/themes/FixIt b/themes/FixIt index fd000ad..fb80b8b 160000 --- a/themes/FixIt +++ b/themes/FixIt @@ -1 +1 @@ -Subproject commit fd000ad6b30e31198a2f0f3eb516ef46abb357e6 +Subproject commit fb80b8b3dcb3c8129f4cd80dfdbb61c0fc041979