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.

63 lines
2.3 KiB

4 years ago
  1. #
  2. # Copyright (C) 2019 Josh Habdas <jhabdas@protonmail.com>
  3. #
  4. # This file is part of After Dark.
  5. #
  6. # After Dark is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU Affero General Public License as published
  8. # by the Free Software Foundation, either version 3 of the License, or
  9. # (at your option) any later version.
  10. #
  11. # After Dark is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU Affero General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU Affero General Public License
  17. # along with this program. If not, see <https://www.gnu.org/licenses/>.
  18. #
  19. description = "After Dark is free and open-source software you can use to create a website, blog or app." # Suggested, controls default description meta
  20. author = "Josh Habdas" # Optional, controls author name display on posts
  21. hide_author = true # Optional, set true to suppress author name on posts
  22. has_cookies = false # Optional, set true to disable cookie disclaimer
  23. disable_csp = true # Optional, set true to disable content security policy
  24. images = [
  25. "https://after-dark.habd.as/images/screenshots/after-dark-v6.15.0-homepage-fs8.png"
  26. ] # Suggested, controls default Open Graph images
  27. [layout.menu.main]
  28. hidden = false # Optional, set false or remove to show section menu
  29. [security.csp.directives]
  30. workerSrc = [
  31. "'self'",
  32. "blob:"
  33. ]
  34. connectSrc = [
  35. "'self'",
  36. "wss:",
  37. "data:"
  38. ]
  39. mediaSrc = [
  40. "https://*.habd.as"
  41. ]
  42. imgSrc = [
  43. "'self'",
  44. "data:",
  45. "https://*.unsplash.com"
  46. ]
  47. scriptSrc = [
  48. "'self'",
  49. "'unsafe-inline'",
  50. "'unsafe-eval'",
  51. "https:",
  52. "'sha512-2t0yyNrUdtn9WGIoBVxq5vtoJQYfoDQDbqRPpOb75f1hiL39DGLdJKDrGP60fBhXfrFeKyVhzWJvHvLgln/ElA=='",
  53. "'sha512-hno7WeTIciCJSjg/myjyK30HYkrcGCVwo4g4SpUalvrs3r2lS7bPNIQwbCNypKbg7BZ1sA4AsGnk6Gq4NOKpGA=='",
  54. "'sha512-ISTAV0GadOIz/NXXHOS&#43;eCM0ysXVVHhQTlvA6LJxz/DeA5yIxm0Vqf5IE&#43;WH0yuuXkayAKtoZkQ326nch5f/fg=='",
  55. "'sha512-/uSbYvALRP8DT0ll9zazZRCrY2NZuNudmKGLZF0AjiwYn7xJxM8dGpnaszOca4opMlgpVBgRh5tdAqxQCQ0qrA=='",
  56. "'strict-dynamic'"
  57. ]
  58. [seo.webmaster_verifications]
  59. yandex = "4006a8813cbb9fdb" # https://webmaster.yandex.com/