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

gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <sere@live.hk>2019-07-27 16:55:26 +0300
committerVincent Tam <sere@live.hk>2019-07-27 17:18:22 +0300
commite4cc16b784298e3b62bad84b5a4210c1f3210d4a (patch)
treede3b46cb75892c33171f8cf30107a9b7ad2e06b2 /exampleSite
parent114e93b8aa2cefcc9140a4a74d1c7a9658516a33 (diff)
Remove repo specific info
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml29
-rw-r--r--exampleSite/staticman.yml13
2 files changed, 30 insertions, 12 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 702c99c..18beb3e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,15 +1,22 @@
-baseURL = "https://staticman-gitlab-pages.frama.io/huginn/"
-languageCode = "fr-fr"
-defaultContentLanguage = "fr"
-title = "Huginn + Framagit + Staticman"
+baseURL = "https://example.com/"
+languageCode = "en"
+defaultContentLanguage = "en"
+title = "Site title"
theme = "huginn"
-# Huginn parameters
[Params]
avatar = "img/avatar.png"
- sitesubtitle = "Un blog libre avec des commentaires"
- footer = "Propulsé par [Hugo](https://gohugo.io) et [Staticman](https://staticman.net), thème [Huginn](https://framagit.org/staticman-gitlab-pages/hugo-theme-huginn), CC-BY-SA 4.0."
-[Params.staticman]
- gitProvider = "gitlab"
- repo = "staticman-gitlab-pages/huginn"
- branch = "master"
+ sitesubtitle = "Blog subtitle"
+ footer = "Powered by [Hugo](https://gohugo.io), theme [Huginn](https://framagit.org/staticman-gitlab-pages/hugo-theme-huginn)"
+
+ # [Params.staticman]
+ # endpoint = # URL of your own API deployment (without trailing slash), default: "https://staticman-frama.herokuapp.com"
+ # gitProvider = "gitlab" # either "github" or "gitlab"
+ # repo = "user/repo" # your GitHub/GitLab repository
+ # branch = "master" # branch on which you want to receive comments
+
+ # # # If you use reCAPTCHA v2, you must also set these parameters in staticman.yml
+ # # [Params.staticman.reCaptcha]
+ # # siteKey = "" # Use your OWN site key, you need to apply for one on Google
+ # # secret = "" # ENCRYPT your password by going to https://<staticman-endpoint>/v3/encrypt/<your-site-secret>
+
diff --git a/exampleSite/staticman.yml b/exampleSite/staticman.yml
index 6cdfc67..dd36aa2 100644
--- a/exampleSite/staticman.yml
+++ b/exampleSite/staticman.yml
@@ -1,6 +1,6 @@
comments:
allowedFields: ["name", "email", "website", "comment", "replyThread", "replyName", "replyID"]
- branch : "master"
+ branch : "master" # should match your config.toml
commitMessage : "New comment from {fields.name}"
path: "data/comments/{options.slug}"
filename : "comment-{@timestamp}"
@@ -14,3 +14,14 @@ comments:
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=="