website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit 972266480d84853dd6170208fe3ee2bba3c08f08
parent 9f9914a7b57fb2647b830139e8011a50705f176b
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Tue, 31 Oct 2023 11:40:25 +0200

Add giscus as comment engine

Diffstat:
Mconfig.toml | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/config.toml b/config.toml @@ -68,6 +68,26 @@ math = true enableDuckDuckGoSearchBox = false numberedSubtitles = true +[params.commentEngine] +code = """ +<script src="https://giscus.app/client.js" + data-repo="michaelneuper/website" + data-repo-id="R_kgDOIjPNaQ" + data-category="General" + data-category-id="DIC_kwDOIjPNac4CaklA" + data-mapping="pathname" + data-strict="0" + data-reactions-enabled="1" + data-emit-metadata="0" + data-input-position="top" + data-theme="https://github.com/michaelneuper/website/static/css/styles.css" + data-lang="en" + data-loading="lazy" + crossorigin="anonymous" + async> +</script> +""" + [params.buymeacoffee] code = """ <script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="michaelneuper" data-description="Like what I do? Buy me a coffee!" data-message="" data-color="#b58900" data-position="Right" data-x_margin="18" data-y_margin="18"></script>