PaperMod主题配置&优化
编辑配置文件 Hugo默认配置文件格式是.toml,但.yml格式更易看懂,因此我们之前在新建站点时候执行的是hugo new site blog -f yml命令,因此生成的文件是.yml格式 配置文件内容请根据个人情况自行修改 baseURL: "https://muzi.gq/" # 绑定的域名 languageCode: zh-cn title: 萧的博客 theme: PaperMod # 主题名字,和themes文件夹下的一致 defaultContentLanguage: zh # 最顶部首先展示的语言页面 paginate: 10 # 每页显示的文章数 enableEmoji: true # 允许使用 Emoji 表情,建议 true outputs: home: - HTML - RSS - JSON params: env: production defaultTheme: auto description: "萧的博客" DateFormat: "2006-01-02" ShowReadingTime: true disableSpecial1stPost: true ShowPostNavLinks: true ShowBreadCrumbs: true ShowCodeCopyButtons: true ShowRssButtonInSectionTermList: true ShowToc: true # 显示目录 TocOpen: true # 自动展开目录 ShowLastMod: true #显示文章更新时间 assets: favicon: "x....