diff --git a/config.yml b/config.yml index 1d0ae6f..88c809e 100644 --- a/config.yml +++ b/config.yml @@ -68,17 +68,13 @@ params: url: "mailto:me@morgan.kr" assets: - # disableHLJS: true # to disable highlight.js - # disableFingerprinting: true favicon: "https://blog.morgan.kr/favicon.ico" - # favicon16x16: "" - # favicon32x32: "" apple_touch_icon: "https://blog.morgan.kr/favicon.ico" safari_pinned_tab: "https://blog.morgan.kr/favicon.ico" label: icon: /favicon.ico - iconHeight: 1 + iconHeight: 32 analytics: google: diff --git a/scripts/push.sh b/scripts/push.sh index fba5794..82b0086 100755 --- a/scripts/push.sh +++ b/scripts/push.sh @@ -1,4 +1,4 @@ -git add . +git add $(git rev-parse --show-toplevel) git commit -m 'edited post' diff --git a/static/favicon.ico b/static/favicon.ico index bd80695..5eb8bd8 100644 Binary files a/static/favicon.ico and b/static/favicon.ico differ diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..c3bcc9b Binary files /dev/null and b/static/favicon.png differ diff --git a/themes/mytheme/layouts/partials/header.html b/themes/mytheme/layouts/partials/header.html index f6c6c7c..e342851 100644 --- a/themes/mytheme/layouts/partials/header.html +++ b/themes/mytheme/layouts/partials/header.html @@ -1,44 +1,4 @@ -{{- /* theme-toggle is enabled */}} -{{- if (not site.Params.disableThemeToggle) }} -{{- /* theme is light */}} -{{- if (eq site.Params.defaultTheme "light") }} - -{{- /* theme is dark */}} -{{- else if (eq site.Params.defaultTheme "dark") }} - -{{- else }} -{{- /* theme is auto */}} - -{{- end }} -{{- /* theme-toggle is disabled and theme is auto */}} -{{- else if (and (ne site.Params.defaultTheme "light") (ne site.Params.defaultTheme "dark"))}} - -{{- end }} - +{{ /* Math KaTeX }} {{ if or .Params.math true}} @@ -58,9 +18,8 @@