params.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. logo = true
  2. logoText = "ZDoc"
  3. logoType = "short" # long, short
  4. description = "The ZDoc theme for Hugo example site."
  5. themeOptions = ["light", "dark"]
  6. useFaviconGenerator = true # https://www.favicon-generator.org/
  7. enableSearch = true
  8. enableSearchHighlight = true
  9. enableLangChange = true
  10. enableDarkMode = true
  11. enableBreadcrumb = true
  12. enableBlogBreadcrumb = true
  13. enableEditBtn = false
  14. enableToc = true
  15. enableMenu = true
  16. enableNavbar = true
  17. enableFooter = true
  18. showPoweredBy = true
  19. tocLevels = ["h2", "h3", "h4"]
  20. paginateWindow = 1
  21. taxoPaginate = 13
  22. taxoGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
  23. github = "https://github.com/zzossig/hugo-theme-zdoc"
  24. # comment
  25. enableComment = true
  26. disqus_shortname = ""
  27. commento = false
  28. [gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
  29. owner = "" # Your GitHub ID
  30. repo = "" # The repo to store comments
  31. clientId = "" # Your client ID
  32. clientSecret = "" # Your client secret
  33. [utterances] # https://utteranc.es/
  34. owner = "" # Your GitHub ID
  35. repo = "" # The repo to store comments
  36. [gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
  37. owner = "" # Your GitHub ID
  38. repo = "" # The repo to store comments
  39. clientId = "" # Your client ID
  40. clientSecret = "" # Your client secret
  41. # Valine.
  42. # You can get your appid and appkey from https://leancloud.cn
  43. # more info please open https://valine.js.org
  44. [valine]
  45. enable = false
  46. appId = '你的appId'
  47. appKey = '你的appKey'
  48. notify = false # mail notifier , https://github.com/xCss/Valine/wiki
  49. verify = false # Verification code
  50. avatar = 'mm'
  51. placeholder = '说点什么吧...'
  52. visitor = false
  53. [changyan]
  54. changyanAppid = "" # Changyan app id # 畅言
  55. changyanAppkey = "" # Changyan app key
  56. [livere]
  57. livereUID = "" # LiveRe UID # 来必力
  58. # Isso: https://posativ.org/isso/
  59. [isso]
  60. enable = false
  61. scriptSrc = "" # "https://isso.example.com/js/embed.min.js"
  62. dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'"