Skip to content

Commit ba94424

Browse files
authored
Update docs
1 parent e44eafc commit ba94424

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

scripts/convert.py

+18-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,24 @@
77
import yaml
88

99

10-
comment_js = '<script src="https://giscus.app/client.js"data-repo="SWHL/AI-Competition-Collections"data-repo-id="MDEwOlJlcG9zaXRvcnkzNjI2NTQ0NDA="data-category="Ideas"data-category-id="DIC_kwDOFZ2q6M4Ce5Hv"data-mapping="title"data-strict="0"data-reactions-enabled="1"data-emit-metadata="0"data-input-position="top"data-theme="preferred_color_scheme"data-lang="zh-CN"data-loading="lazy"crossorigin="anonymous"async></script>'
10+
comment_js = """
11+
<script src="https://giscus.app/client.js"
12+
data-repo="SWHL/AI-Competition-Collections"
13+
data-repo-id="MDEwOlJlcG9zaXRvcnkzNjI2NTQ0NDA="
14+
data-category="Ideas"
15+
data-category-id="DIC_kwDOFZ2q6M4Ce5Hv"
16+
data-mapping="title"
17+
data-strict="0"
18+
data-reactions-enabled="1"
19+
data-emit-metadata="0"
20+
data-input-position="top"
21+
data-theme="preferred_color_scheme"
22+
data-lang="zh-CN"
23+
data-loading="lazy"
24+
crossorigin="anonymous"
25+
async>
26+
</script>
27+
"""
1128

1229

1330
class ConvertMDToHugo:
@@ -154,7 +171,6 @@ def create_home_index_md(self):
154171
" ",
155172
self.children,
156173
" ",
157-
comment_js
158174
]
159175

160176
readme_path = self.root_dir / "README.md"

0 commit comments

Comments
 (0)