Skip to content

Commit

Permalink
fix(giscus): add missing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Dec 20, 2024
1 parent b1b667e commit fdc8c2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 --- #
Expand Down
6 changes: 6 additions & 0 deletions _includes/giscus-comment.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
</script>
Expand Down

0 comments on commit fdc8c2a

Please sign in to comment.