File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 7
7
import yaml
8
8
9
9
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
+ """
11
28
12
29
13
30
class ConvertMDToHugo :
@@ -154,7 +171,6 @@ def create_home_index_md(self):
154
171
" " ,
155
172
self .children ,
156
173
" " ,
157
- comment_js
158
174
]
159
175
160
176
readme_path = self .root_dir / "README.md"
You can’t perform that action at this time.
0 commit comments