# Edit accordingly
comments:
  allowedFields: ["name", "email", "comment"]
  allowedOrigins: ["localhost", "example.com"]
  branch: "master"  # should match your config.toml
  filename: "comment-{@date:YYYY-MM-DDTHH-mm-ss.SSS}"
  format: "yaml"
  commitMessage: "New Staticman comment in {options.slug}"
  generatedFields:
    date:
      type: date
      options:
        format: "iso8601"
  moderation: false
  name: "Fancy Site Title"
  path: "data/comments/{options.slug}"
  requiredFields: ["name", "email", "comment"]
  transforms:
    email: md5

  # reCAPTCHA (OPTIONAL)
  # Register your domain at https://www.google.com/recaptcha/ and choose reCAPTCHA V2
  # Use your OWN siteKey and secret.
  reCaptcha:
    enabled: false
    # siteKey and secret should match your config.toml
    #siteKey: "6Lcv8G8UAAAAAEqV1Y-XEPum00C_DxhD6O--qkFo"
    # (!) ENCRYPT reCaptcha secret key using Staticman /encrypt endpoint
    # i.e. https://{staticman-endpoint}/v3/encrypt/{your-site-secret}
    # For more information, https://staticman.net/docs/encryption
    #secret: "p5uHlH9hCqpMJaGKXdt5MEWFo7K6fX8hoYUwR3aIafOI6rtItLauaDCkGOucysJtrVZy+sHffioGzMsOU64JFDSyPQgrXujegcOHFRXHhD4fOUuBXSvV+OZ8JhSPTGWaRcQcoiGX4pT5hlebLddOl59b6sn6kU1ODQcEbhP83xVLZlaTWOrNrF5Wvy3TMXpH5gyl1tZEORxADAShMYyUbNR7XZYLEg1DfgIBHfIg3cKwdFt7KVLejFGKIiBYRAZDE2JuHItNmzJ2x9JgSK3E+XnShV5tuWpncnyFonJVHGEky/zRfUVLHobDMcJ/u9nlZqE8u47W+833F1WaIYuwNw=="
