Welcome to mirror list, hosted at ThFree Co, Russian Federation.

staticman.yml « exampleSite - gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd36aa2b6be64e1aae73857150d7eb872e918151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
comments:
  allowedFields: ["name", "email", "website", "comment", "replyThread", "replyName", "replyID"]
  branch            : "master"  # should match your config.toml
  commitMessage     : "New comment from {fields.name}"
  path: "data/comments/{options.slug}"
  filename          : "comment-{@timestamp}"
  format            : "yaml"
  moderation        : true
  requiredFields    : ["name", "email", "comment"]
  transforms:
    email           : md5
  generatedFields:
    date:
      type          : "date"
      options:
        format      : "iso8601"

  # # reCAPTCHA (OPTIONAL)
  # # Register your domain at https://www.google.com/recaptcha/ and choose reCAPTCHA V2
  # # Use your OWN siteKey and secret.
  # reCaptcha:
  #   # 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=="