params.toml 2.3 KB

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