憹懌之間 Moments 配置备份

2025年4月2日 20:19:56

自定义 js

function changeFont() { 
  const link = document.createElement("link");
  link.rel = "stylesheet";
  link.type = "text/css";
  link.href = "https://cdn.jsdelivr.net/gh/urkbio/my-fonts@latest/fonts.css";
  document.head.append(link);
};
changeFont();

function loadUmami() {
    const script = document.createElement("script");
    script.defer = true;
    script.src = "https://umami.235421.xyz/script.js";
    script.dataset.websiteId = "2c527855-b5ed-4a12-948a-464ab14e5de9";
    document.head.append(script);
};

loadUmami();

自定义css

# 全局字体
*{font-family: "LXGW WenKai TC", sans-serif !important;}
# 取消首行缩进
.markdown-content p { text-indent: 0em; }

favicon. https://media.235421.xyz/favicon.ico

Tags: