Commit 4fc888e7 authored by Vincent Tam's avatar Vincent Tam 📖

Changé de liens en Framagit dans README

parent 298a8edc
Pipeline #98775 passed with stages
in 14 seconds
# Beautiful Hugo with Staticman comment reply
## Build your personal blog with comment replies for free on GitLab
View demo at https://vincenttam.gitlab.io/bhdemo ([source][3])
View demo at https://staticman-gitlab-pages.frama.io/bhdemo ([source][3])
## Simple setup
1. Clone this repo
git clone https://gitlab.com/VincentTam/bhdemo.git <your-site-name>
git clone https://framagit.org/staticman-gitlab-pages/bhdemo.git <your-site-name>
2. Remove existing comments under the folder `data` and the file `LICENSE`.
3. Modify the following fields in the Hugo config file `config.toml`. You may comment out stuff by `#`.
baseURL = "https://<username>.gitlab.io"
baseURL = "https://<username>.frama.io"
title = "Your title"
[Params]
subtitle = "Your subtitle"
[Params.staticman]
api = "https://staticman3.herokuapp.com/v3/entry/gitlab/<username>/<username>.gitlab.io/master/comments"
pulls = "https://gitlab.com/<username>/<username>.gitlab.io/merge_requests"
api = "https://staticman-frama.herokuapp.com/v3/entry/gitlab/<username>/<username>.frama.io/master/comments"
[Author]
name = "Your name"
website = "https://example.com"
If this is your project page, use the following parameters instead.
baseURL = "https://<username>.gitlab.io/<your-project>"
baseURL = "https://<username>.frama.io/<your-project>"
[Params.staticman]
api = "https://staticman3.herokuapp.com/v3/entry/gitlab/<username>/<your-project>/master/comments"
pulls = "https://gitlab.com/<username>/<your-project>/merge_requests"
api = "https://staticman-frama.herokuapp.com/v3/entry/gitlab/<username>/<your-project>/master/comments"
4. Either remove the [reCAPTCHA][6] config or *change the parameters below with your own site key and secret*. (You may apply your personal ones with your Google account.)
[Params.staticman.recaptcha]
sitekey = "6Lcv8G8UAAAAAEqV1Y-XEPum00C_DxhD6O--qkFo"
secret = "p5uHlH9hCqp...33F1WaIYuwNw=="
5. Remove these lines at the bottom of `config.toml`.
[[menu.main]]
name = "Source"
url = "https://gitlab.com/vincenttam/bhdemo"
url = "https://framagit.org/staticman-gitlab-pages/bhdemo"
weight = 2
Write new posts.
......@@ -54,7 +52,7 @@ Write new posts.
4. Commit with `git commit`. Add your commit message.
5. Publish with `git push -u origin master`
[3]: https://gitlab.com/vincenttam/bhdemo
[3]: https://framagit.org/staticman-gitlab-pages/bhdemo
[6]: https://www.google.com/recaptcha/intro/v3.html
## Credits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment