Site for my Call of Duty: Mobile clan. http://codm.ataraxy.tk
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.

77 lines
2.6 KiB

  1. # Name of the property. You can have multiple properties with completely
  2. # different config blocks for different sections of your site.
  3. # For example, you can have one property to handle comment submission and
  4. # another one to handle posts.
  5. comments:
  6. # (*) REQUIRED
  7. #
  8. # Names of the fields the form is allowed to submit. If a field that is
  9. # not here is part of the request, an error will be thrown.
  10. allowedFields: ["name", "email", "message", "reply_to"]
  11. # (*) REQUIRED
  12. #
  13. # Name of the branch being used. Must match the one sent in the URL of the
  14. # request.
  15. branch: "master"
  16. # Text to use as the commit message or pull request title. Accepts placeholders.
  17. commitMessage: "Add Staticman data"
  18. # (*) REQUIRED
  19. #
  20. # Destination path (filename) for the data files. Accepts placeholders.
  21. filename: "entry{@timestamp}"
  22. # The format of the generated data files. Accepted values are "json", "yaml"
  23. # or "frontmatter"
  24. format: "yaml"
  25. # List of fields to be populated automatically by Staticman and included in
  26. # the data file. Keys are the name of the field. The value can be an object
  27. # with a `type` property, which configures the generated field, or any value
  28. # to be used directly (e.g. a string, number or array)
  29. generatedFields:
  30. date:
  31. type: date
  32. options:
  33. format: "timestamp-seconds"
  34. # Whether entries need to be appproved before they are published to the main
  35. # branch. If set to `true`, a pull request will be created for your approval.
  36. # Otherwise, entries will be published to the main branch automatically.
  37. moderation: true
  38. # Name of the site. Used in notification emails.
  39. name: "Meghna Theme"
  40. # Notification settings. When enabled, users can choose to receive notifications
  41. # via email when someone adds a reply or a new comment. This requires an account
  42. # with Mailgun, which you can get for free at http://mailgun.com.
  43. #notifications:
  44. # Enable notifications
  45. #enabled: true
  46. # (!) ENCRYPTED
  47. #
  48. # Mailgun API key
  49. #apiKey: "1q2w3e4r"
  50. # (!) ENCRYPTED
  51. #
  52. # Mailgun domain (encrypted)
  53. #domain: "4r3e2w1q"
  54. # (*) REQUIRED
  55. #
  56. # Destination path (directory) for the data files. Accepts placeholders.
  57. path: "data/comments/{options.slug}"
  58. # Names of required fields. If any of these isn't in the request or is empty,
  59. # an error will be thrown.
  60. requiredFields: ["name", "email", "message"]
  61. # List of transformations to apply to any of the fields supplied. Keys are
  62. # the name of the field and values are possible transformation types.
  63. transforms:
  64. email: md5