diff --git a/assets/js/appearance.js b/assets/js/appearance.js index cbbf28f7..dd5ad69d 100644 --- a/assets/js/appearance.js +++ b/assets/js/appearance.js @@ -8,13 +8,9 @@ function getCSSValue(varName) { function setThemeColor() { var metaThemeColor = document.querySelector("meta[name=theme-color]"); - var metaAppleMobileWebAppStatusBarStyle = document.querySelector("meta[name=apple-mobile-web-app-status-bar-style]"); document.documentElement.classList.contains("dark") ? metaThemeColor.setAttribute("content", getCSSValue("--color-neutral-800")) : metaThemeColor.setAttribute("content", getCSSValue("--color-neutral")); - document.documentElement.classList.contains("dark") - ? metaAppleMobileWebAppStatusBarStyle.setAttribute("content", getCSSValue("--color-neutral-800")) - : metaAppleMobileWebAppStatusBarStyle.setAttribute("content", getCSSValue("--color-neutral")); return true; } diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 77b32455..2d096767 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,6 @@ - {{/* Title */}} {{ if .IsHome -}} {{ .Site.Title | emojify }}