From f0a37b9c9b68c61549c085ecbd3e05d797cebfdf Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Thu, 13 Dec 2018 01:43:32 +0100 Subject: [PATCH] Fixed link in example site config --- README.md | 10 ++++++++++ exampleSite/config.toml | 11 +++++------ exampleSite/content/portfolio/hyde-hyde.md | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f29ce93..4b708d7 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,16 @@ __`Hyde-hyde`__ essentially inherits most of Hyde's [options](https://github.com * `UtterancesIssueTerm = "pathname"` Method for Utterances to match issue's to posts (pathname, url, title, og:title) * `UtterancesTheme = "github-light"` Theme for Utterances (github-light, github-dark) +* `[params.staticman]`: to use [Staticman](https://staticman.net/) for static comments. + + ```toml + [params.staticman] + api = "https://staticman3.herokuapp.com/v3/entry/{gitlab|github}/{username}/{repo}/{branch}/comments" + [params.staticman.recaptcha] + sitekey = # your own reCAPTCHA site key + secret = # encrypt reCAPTCHA site secret with https://staticman3.herokuapp.com/v3/encrypt/{secret} + ``` + * `[params.social]`: in this section, you can set many social identities such as Twitter, Facebook, Github, Bitbucket, Gitlab, Instagram, LinkedIn, StackOverflow, Medium, Xing, Keybase. ```toml diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d1d9aaf..df8d1d2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -41,12 +41,11 @@ theme = "hyde-hyde" # Table of contents #toc = none, "hugo", or "tocbot" -[Params.staticman] - api = "https://staticman3.herokuapp.com/v3/entry/gitlab/vincenttam/hyde-hyde-demo/master/comments" -[Params.staticman.recaptcha] - sitekey = "6Lcv8G8UAAAAAEqV1Y-XEPum00C_DxhD6O--qkFo" - secret = "p5uHlH9hCqpMJaGKXdt5MEWFo7K6fX8hoYUwR3aIafOI6rtItLauaDCkGOucysJtrVZy+sHffioGzMsOU64JFDSyPQgrXujegcOHFRXHhD4fOUuBXSvV+OZ8JhSPTGWaRcQcoiGX4pT5hlebLddOl59b6sn6kU1ODQcEbhP83xVLZlaTWOrNrF5Wvy3TMXpH5gyl1tZEORxADAShMYyUbNR7XZYLEg1DfgIBHfIg3cKwdFt7KVLejFGKIiBYRAZDE2JuHItNmzJ2x9JgSK3E+XnShV5tuWpncnyFonJVHGEky/zRfUVLHobDMcJ/u9nlZqE8u47W+833F1WaIYuwNw==" - +#[params.staticman] +# api = "https://staticman3.herokuapp.com/v3/entry/{gitlab|github}/{username}/{repo}/{branch}/comments" +#[params.staticman.recaptcha] +# sitekey = # your own reCAPTCHA site key +# secret = # encrypt reCAPTCHA site secret with https://staticman3.herokuapp.com/v3/encrypt/{secret} ## Social Accounts [params.social] diff --git a/exampleSite/content/portfolio/hyde-hyde.md b/exampleSite/content/portfolio/hyde-hyde.md index e3b9936..a650a92 100644 --- a/exampleSite/content/portfolio/hyde-hyde.md +++ b/exampleSite/content/portfolio/hyde-hyde.md @@ -8,4 +8,4 @@ layout: 'portfolio' featured: 'true' --- -[_Hyde-hyde_](https://github.com/htr3n/hyde-hyde) is a responsive [Hugo](https://gohugo.io) theme inspired by @spf13's [Hyde](https://github.com/spf13/hyde.git) and its variant [Nate Finch's blog](https://npf.io). It was heavily restructured with modularised page layouts for easier maintenance and modification. _Hyde-hyde_ offers awesome features such as nice colour tone, [code highlighting](https://highlightjs.org), [Font-Awesome 5's sidebar icons](https://fontawesome.com)), a cool portfolio page, more choices for commenting (e.g. [GraphComment](https://graphcomment.com), [Disqus](https://disqus.com)). +[_Hyde-hyde_](https://github.com/htr3n/hyde-hyde) is a responsive [Hugo](https://gohugo.io) theme inspired by @spf13's [Hyde](https://github.com/spf13/hyde.git) and its variant [Nate Finch's blog](https://npf.io). It was heavily restructured with modularised page layouts for easier maintenance and modification. _Hyde-hyde_ offers awesome features such as nice colour tone, [code highlighting](https://highlightjs.org), [Font-Awesome 5's sidebar icons](https://fontawesome.com)), a cool portfolio page, more choices for commenting (e.g. [GraphComment](https://graphcomment.com), [Disqus](https://disqus.com), [Staticman](https://staticman.net)).