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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert <30955264+HerbertHe@users.noreply.github.com>2021-04-18 20:40:10 +0300
committerGitHub <noreply@github.com>2021-04-18 20:40:10 +0300
commit1762613dfb06a9f2fb0958b4550234ea7193b772 (patch)
tree012b91f92ed81ceff3d57779bda9edbe1ea118ae /exampleSite
parent177e4b19c294652a163cf93d35fdc5ae91acf3e3 (diff)
feat: support Valine (#79)
* feat: support valine * ui: impove valine UI * feat: support valine options * fix: remove valine serverURLs option * refactor: load params in a more flexible way * feat: custom editThisPage repo branch * cRevert "feat: custom editThisPage repo branch" This reverts commit 36923ac30de6c3a690fa7407e534c5395bafcb18. Co-authored-by: Wang Chucheng <me@wangchucheng.com>
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/params.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml
index 5eaeaf2..16e5093 100644
--- a/exampleSite/config/_default/params.yaml
+++ b/exampleSite/config/_default/params.yaml
@@ -19,7 +19,7 @@ publisherLogo:
highlight:
handler: highlightjs
-
+
highlightjs:
# highlight.js doesn't bundle every language. So please specify additional languages you want here.
# See https://github.com/highlightjs/cdn-release/tree/master/build/languages for available languages.
@@ -40,7 +40,7 @@ math:
# leqno:
comment:
- # Options: disqus, commento and utterances.
+ # Options: disqus, commento, valine and utterances.
handler:
# disqus:
@@ -57,6 +57,14 @@ comment:
# # If self-hosting, please enter the url (e.g. https://commento.example.com) here. Otherwise leave empty.
# url:
+ valine:
+ # Browse https://valine.js.org/configuration.html to see the options available.
+ # You can list the key and value you want as below.
+ # Because Hugo's config params are case-insensitive, you need to add `-` or `_` before the uppercase letters.
+ # For example, `appId` should be written as `app-Id` or other acceptable formats.
+ app-Id:
+ app-Key:
+
diagram:
handler: mermaid