From bc6d8f47c2006babc02374d8571d5bae3653b3a5 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Mon, 20 Mar 2023 10:47:10 +0800 Subject: [PATCH] :sparkles: Feat: add paramater strict for giscus comment --- CHANGELOG.md | 1 + config.toml | 1 + docs | 2 +- layouts/partials/single/comment.html | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c24a368..4e1225ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file. - :sparkles: Feat: add instant page (@Mejituu [#279](https://github.com/hugo-fixit/FixIt/pull/279)) - :sparkles: Feat: add `force` option value to `params.page.lightgallery` - :sparkles: Feat: add loop paramter for typeit ([#303](https://github.com/hugo-fixit/FixIt/pull/303)) +- :sparkles: Feat: add paramater strict for giscus comment - :bug: Fix: donate images without lazy loading (@Mejituu [#279](https://github.com/hugo-fixit/FixIt/pull/279)) - :bug: Fix: discordinvite typo (@mathieu-gilloots [#282](https://github.com/hugo-fixit/FixIt/pull/282)) - :bug: Fix: missing parameter `requiredFields` for Valine diff --git a/config.toml b/config.toml index 8eaaffc3..6e7d3587 100644 --- a/config.toml +++ b/config.toml @@ -612,6 +612,7 @@ category = "" categoryId = "" mapping = "" + strict = "0" # FixIt NEW | 0.2.18 term = "" reactionsEnabled = "1" emitMetadata = "0" diff --git a/docs b/docs index 174a8ee1..0617d413 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 174a8ee1ddccff0bf3163ec82bf0f058fdadc1a0 +Subproject commit 0617d413d09ae58c83d52759b768cbd9b1110418 diff --git a/layouts/partials/single/comment.html b/layouts/partials/single/comment.html index 450a101e..384d8115 100644 --- a/layouts/partials/single/comment.html +++ b/layouts/partials/single/comment.html @@ -273,6 +273,7 @@ data-category="{{ .Category }}" data-category-id="{{ .CategoryId }}" data-mapping="{{ .Mapping }}" + data-strict="{{ .Strict }}" {{ if .Term }}data-term="{{ .Term }}"{{ end }} data-theme="preferred_color_scheme" data-reactions-enabled="{{ .ReactionsEnabled }}"