hugo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. baseURL = "https://zak.ee"
  2. title = "Zakee's Planet"
  3. languageCode = "zh-CN"
  4. defaultContentLanguage = 'zh'
  5. hasCJKLanguage = true
  6. copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
  7. [params.author]
  8. name = "Zakee"
  9. [markup]
  10. defaultMarkdownHandler = "goldmark"
  11. [markup.goldmark.renderer]
  12. unsafe = true
  13. [markup.goldmark.parser]
  14. wrapStandAloneImageWithinParagraph = false
  15. [markup.goldmark.parser.attribute]
  16. block = true
  17. title = true
  18. [markup.goldmark.extensions.typographer]
  19. disable = true
  20. [markup.highlight]
  21. codeFences = true
  22. guessSyntax = false
  23. noClasses = false
  24. [taxonomies]
  25. tag = "tags"
  26. [params]
  27. images = ["og-image.png"]
  28. [menu]
  29. [[menu.main]]
  30. name = "Intro"
  31. pageref = "/"
  32. weight = 1
  33. [menu.main.params]
  34. description = "主页"
  35. [[menu.main]]
  36. name = "Writing"
  37. pageref = "/writing"
  38. weight = 10
  39. [menu.main.params]
  40. description = "文章"
  41. [[menu.main]]
  42. name = "Photo"
  43. pageref = "/photo"
  44. weight = 20
  45. [menu.main.params]
  46. description = "照片"
  47. [[menu.main]]
  48. name = "Link"
  49. pageref = "/link"
  50. weight = 30
  51. [menu.main.params]
  52. description = "联结"
  53. [[menu.main]]
  54. name = "About"
  55. pageref = "/about"
  56. weight = 40
  57. [menu.main.params]
  58. description = "关于"