Quan 主题网站配置文 hugo.toml适配

Hugo 主题有个麻烦的地方,就是得和 hugo.toml 文件适配才能正常使用,以下是我适配 Quan 主题的 hugo.toml 文件配置。

Hugo 版本:hugo v0.127.0

baseURL = '/'
languageCode = 'zh-cn'
defaultContentLanguage = 'zh-cn'
title = '朋友圈'
enableRobotsTXT = true
theme = 'Quan'
paginate = 10

[author]
  name = 'LMS'
  email = '[email protected]'

[Params]
  mainSections = ['memos']
  archiveSections = ["theme", "news"]
  dateFormat = '2006-01-02'
  paginationSinglePost = true
  style = 'auto'
  readMore = false
  readNextPosts = 2
  copyCodeButton = true
  rssAsSocialIcon = true
  mathjax = false
  search = true
  color = 'linen'
  avatar = 'https://gravatar.memobbs.app/avatar/d9cc49ea0301640d7a19b6a1e77012dd?s=80'
  logoImg = '/images/avatar.jpg'
  bannerImg = '/images/banner.jpg'
  description = '山不来就我,我就算了。'
  customCSS = ['css/APlayer.min.css']
  customJS = ['js/view-image.min.js','js/Lately.min.js','js/lozad.min.js','js/quan.js']

  social = [
    { id = "facebook", name = "name" },
    { id = "twitter", url = "https://www.twitter.com/username" },
    { id = "github", url = "https://www.github.com/username" },
    { id = "bilibili", url = "https://www.github.com/username" },
    { id = "email", url = "https://www.github.com/username" },
    { id = "mastodon", url = "https://www.github.com/username" }
  ]
  

[markup.goldmark.renderer]
  unsafe = true
  hardWraps= true

[taxonomies]
  category = 'categories'
  tag = 'tags'

[permalinks]
  categories =  "/category/:slug/"

[outputs]
  home = ["HTML","JSON","RSS","SITEMAP"]
  page = ["HTML"]