Hexo迁移至hugo

今天正式把之前的博客文章迁移至hugo了,终于不用再忍受hexo缓慢的生成速度了,以下记录一下迁移过程 一、hugo安装 brew install hugo 二、创建网站 hugo new site iblog 三、安装主题 git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 cd themes/PaperMod git pull 四、配置config.yml(不使用config.toml) baseURL: "https://iblog.zone" title: ylw's blog paginate: 10 theme: PaperMod defaultContentLanguage: zh permalinks: posts: /archives/:slug/ enableInlineShortcodes: true enableRobotsTXT: true buildDrafts: false buildFuture: false buildExpired: false enableEmoji: true # googleAnalytics: UA-123-45 minify: disableXML: true minifyOutput: false params: env: production # to enable google analytics, opengraph, twitter-cards and schema....

2022-03-24 · 2 分钟