config.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. baseurl = "https://bf.mengyan1223.wang/blog/" # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
  2. title = "Xry111's Blog"
  3. theme = "wowchemy"
  4. enableEmoji = true
  5. footnotereturnlinkcontents = "<sup>^</sup>"
  6. ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
  7. preserveTaxonomyNames = true
  8. paginate = 10
  9. # Enable analytics by entering your Google Analytics tracking ID
  10. googleAnalytics = ""
  11. # Default language to use (if you setup multilingual support)
  12. defaultContentLanguage = "en"
  13. hasCJKLanguage = true
  14. defaultContentLanguageInSubdir = false
  15. enableGitInfo = true
  16. [outputs]
  17. home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
  18. section = [ "HTML", "RSS" ]
  19. [mediaTypes."application/manifest+json"]
  20. suffixes = ["webmanifest"]
  21. [outputFormats.WebAppManifest]
  22. mediaType = "application/manifest+json"
  23. rel = "manifest"
  24. # Configure BlackFriday Markdown rendering.
  25. # See: https://gohugo.io/readfiles/bfconfig/
  26. [blackfriday]
  27. hrefTargetBlank = true # `true` opens external links in a new tab.
  28. fractions = true # `false` disables smart fractions (e.g. 5/12 formatted as a fraction).
  29. smartypants = true # `false` disables all smart punctuation substitutions (e.g. smart quotes, dashes, fractions).
  30. menu_align_right = true
  31. # Taxonomies.
  32. [taxonomies]
  33. tag = "tags"
  34. category = "categories"
  35. publication_type = "publication_types"
  36. author = "authors"
  37. [module]
  38. [[module.imports]]
  39. path = "wowchemy/wowchemy"
  40. [markup]
  41. [markup.goldmark]
  42. [markup.goldmark.renderer]
  43. unsafe = true