Commit 92a2e6b 1 parent b1b667e commit 92a2e6b Copy full SHA for 92a2e6b
File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -239,9 +239,13 @@ footer-hover-col: "#0085A1"
239
239
# category: Announcements # Category name of your GitHub Discussion posts
240
240
# category-id: # ID of your category, retrieve this info from https://giscus.app
241
241
# mapping: pathname
242
+ # strict: 0
242
243
# reactions-enabled: 1
243
244
# emit-metadata: 0
244
- # theme: light
245
+ # input-position: bottom
246
+ # theme: light # custom themes supported such as a url (https://example.com/path/to/theme.css) or local path (/assets/css/giscus.css)
247
+ # lang: en
248
+ # lazy-loading: true
245
249
246
250
# ###############
247
251
# --- Misc --- #
Original file line number Diff line number Diff line change 6
6
data-category ="{{ site.giscus.category }} "
7
7
data-category-id ="{{ site.giscus.category-id }} "
8
8
data-mapping ="{{ site.giscus.mapping }} "
9
+ data-strict ="{{ site.giscus.strict }} "
9
10
data-reactions-enabled ="{{ site.giscus.reactions-enabled }} "
10
11
data-emit-metadata ="{{ site.giscus.emit-metadata }} "
11
- data-theme ="{{ site.giscus.theme }} "
12
+ data-input-position ="{{ site.giscus.input-position }} "
13
+ {% assign theme = site.giscus.theme %}
14
+ {% if theme | slice: 0 == '/ ' %}
15
+ {% assign theme = theme | absolute_url %}
16
+ {% endif %}
17
+ data-theme ="{{ theme }} "
18
+ data-lang ="{{ site.giscus.lang }} "
19
+ {% if site.giscus.lazy-loading == true %}
20
+ data-loading ="lazy "
21
+ {% endif %}
12
22
crossorigin ="anonymous "
13
23
async >
14
24
</ script >
You can’t perform that action at this time.
0 commit comments