config.toml 1.5 KB

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