diff --git a/_config.yml b/_config.yml index afd365060315..3974a4697c7a 100644 --- a/_config.yml +++ b/_config.yml @@ -239,9 +239,13 @@ footer-hover-col: "#0085A1" # category: Announcements # Category name of your GitHub Discussion posts # category-id: # ID of your category, retrieve this info from https://giscus.app # mapping: pathname +# strict: 0 # reactions-enabled: 1 # emit-metadata: 0 +# input-position: bottom # theme: light +# lang: en +# lazy-loading: true ################ # --- Misc --- # diff --git a/_includes/giscus-comment.html b/_includes/giscus-comment.html index b6e7fa164215..f9353b662779 100644 --- a/_includes/giscus-comment.html +++ b/_includes/giscus-comment.html @@ -6,9 +6,15 @@ data-category="{{ site.giscus.category }}" data-category-id="{{ site.giscus.category-id }}" data-mapping="{{ site.giscus.mapping }}" + data-strict="{{ site.giscus.strict }}" data-reactions-enabled="{{ site.giscus.reactions-enabled }}" data-emit-metadata="{{ site.giscus.emit-metadata }}" + data-input-position="{{ site.giscus.input-position }}" data-theme="{{ site.giscus.theme }}" + data-lang="{{ site.giscus.lang }}" + {% if site.giscus.lazy-loading == true %} + data-loading="lazy" + {% endif %} crossorigin="anonymous" async>