config.toml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Configuration of Academic
  2. # Documentation: https://sourcethemes.com/academic/
  3. #
  4. # This file is formatted using TOML syntax - learn more at https://learnxinyminutes.com/docs/toml/
  5. # Each configuration section is defined by a name in square brackets (e.g. `[outputs]`).
  6. # Title of your site
  7. title = "Academic"
  8. # The URL of your site.
  9. # End your URL with a `/` trailing slash, e.g. `https://example.com/`.
  10. baseurl = "/"
  11. # Enter a copyright notice to display in the site footer.
  12. # To display a copyright symbol, type `©`. For current year, type `{year}`.
  13. copyright = ""
  14. ############################
  15. ## Advanced options below ##
  16. ############################
  17. # Name of Academic theme folder in `themes/`.
  18. theme = "academic"
  19. # Get last modified date for content from Git?
  20. enableGitInfo = false
  21. # Default language to use (if you setup multilingual support)
  22. defaultContentLanguage = "en"
  23. hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
  24. defaultContentLanguageInSubdir = false
  25. removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687
  26. summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
  27. paginate = 10 # Number of items per page in paginated lists.
  28. enableEmoji = true
  29. footnotereturnlinkcontents = "<sup>^</sup>"
  30. ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
  31. [outputs]
  32. home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
  33. section = [ "HTML", "RSS" ]
  34. [mediaTypes."application/manifest+json"]
  35. suffixes = ["webmanifest"]
  36. [outputFormats.WebAppManifest]
  37. mediaType = "application/manifest+json"
  38. rel = "manifest"
  39. [markup]
  40. defaultMarkdownHandler = "goldmark"
  41. [markup.goldmark]
  42. [markup.goldmark.renderer]
  43. unsafe = true # Enable user to embed HTML snippets in Markdown content.
  44. [markup.highlight]
  45. codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher.
  46. [markup.tableOfContents]
  47. startLevel = 2
  48. endLevel = 3
  49. [imaging]
  50. resampleFilter = "lanczos"
  51. quality = 90
  52. anchor = "smart" # Anchor for cropping. Options include Smart and Center.
  53. # Taxonomies.
  54. [taxonomies]
  55. tag = "tags"
  56. category = "categories"
  57. publication_type = "publication_types"
  58. author = "authors"