Hexo 配置

前言 因為不小心手殘把 local 的 Hexo 設定砍了… 所以藉此來紀念我的手殘及記錄一下我的 Hexo blog 做了哪些設定 設定 deploy 到 GitHub page 上 安裝套件: npm install --save hexo-deployer-git 調整 _config.yml: deploy: type: git repo: <repository url> NexT 安裝 NexT: npm install hexo-theme-next --save 將 NexT 的設定檔複製出來: cp node_modules/hexo-theme-next/_config.yml _config.next.yml 把 _config.yml 中的 theme 改成使用 NexT: theme: next Sitemap 安裝套件: npm install hexo-generator-sitemap --save 外部連結 nofollow 安裝套件: npm install hexo-filter-nofollow --save Minifier 安裝套件: npm install hexo-all-minifier --save 在 _config.yml 中加入: ...

July 17, 2021 · 1 min · Set Mao