You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 line
2.7KB

  1. baseurl = "https://after-dark.habd.as/" # Controls base URL sitewide
  2. title = "After Dark" # Homepage title and page title suffix
  3. paginate = 36 # Number of items to show before paginating
  4. # Controls default theme and theme components
  5. theme = [
  6. "after-dark"
  7. ]
  8. disableLiveReload = false # Optional, set true to disable live reload
  9. enableRobotsTXT = true # Suggested, enable robots.txt file
  10. pygmentsCodefences = true # Suggested, highlight fenced code blocks
  11. pygmentsUseClasses = true # Required for custom syntax highlighting
  12. sectionPagesMenu = "main" # Enable menu system for lazy bloggers
  13. footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link
  14. [languages.en]
  15. languageCode = "en-US" # Controls site language
  16. languageName = "English"
  17. [languages.id]
  18. languageCode = "id-ID" # Controls site language
  19. languageName = "Indonesia"
  20. [outputs]
  21. home = ["HTML", "RSS", "JSON"]
  22. [params]
  23. description = "After Dark is free and open-source software you can use to create a website, blog or app." # Suggested, controls default description meta
  24. author = "Josh Habdas" # Optional, controls author name display on posts
  25. hide_author = true # Optional, set true to hide author name on posts
  26. has_cookies = false # Optional, set true to disable cookie disclaimer
  27. disable_csp = false # Optional, set true to disable content security policy
  28. images = [
  29. "https://after-dark.habd.as/images/screenshots/after-dark-v6.15.0-homepage-fs8.png"
  30. ] # Suggested, controls default Open Graph images
  31. [params.layout.menu.main]
  32. hidden = false # Optional, set false or remove to show section menu
  33. [params.security.csp.directives]
  34. mediaSrc = [
  35. "https://jhabdas.keybase.pub"
  36. ]
  37. scriptSrc = [
  38. "'self'",
  39. "'unsafe-inline'",
  40. "https:",
  41. "'sha512-Jx/MqTxYWqHdoOkHItRJJZCvFDhERPr5gG4I5ESu3V+BgQyAQ6wXfdsGzhzmT0yyvkAWz2jbrn81q90RRJTSTg=='",
  42. "'sha512-hno7WeTIciCJSjg/myjyK30HYkrcGCVwo4g4SpUalvrs3r2lS7bPNIQwbCNypKbg7BZ1sA4AsGnk6Gq4NOKpGA=='",
  43. "'sha512-ISTAV0GadOIz/NXXHOS+eCM0ysXVVHhQTlvA6LJxz/DeA5yIxm0Vqf5IE+WH0yuuXkayAKtoZkQ326nch5f/fg=='",
  44. "'strict-dynamic'"
  45. ]
  46. [params.seo.webmaster_verifications]
  47. yandex = "4006a8813cbb9fdb" # https://webmaster.yandex.com/
  48. [[menu.main]]
  49. name = "Overview"
  50. weight = 1
  51. identifier = "home"
  52. url = "/"
  53. [[menu.main]]
  54. name = "Features"
  55. weight = 2
  56. identifier = "feature"
  57. url = "/feature/"
  58. [[menu.main]]
  59. name = "Modules"
  60. weight = 3
  61. identifier = "module"
  62. url = "/module/"
  63. [[menu.main]]
  64. name = "Shortcodes"
  65. weight = 4
  66. identifier = "shortcode"
  67. url = "/shortcode/"
  68. [[menu.main]]
  69. name = "Extras"
  70. weight = 5
  71. identifier = "extra"
  72. url = "/extra/"
  73. [[menu.main]]
  74. name = "Search"
  75. weight = 6
  76. identifier = "search"
  77. url = "/search/"