Skip to content

Commit c7db637

Browse files
authored
???
1 parent 122ce17 commit c7db637

1 file changed

Lines changed: 2 additions & 29 deletions

File tree

index.html

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -90,38 +90,11 @@ <h2>页面合法输入示例</h2>
9090
</div>
9191
</div>
9292

93-
<div id="container" class="label"></div>
94-
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
95-
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
96-
<script>
97-
const myTheme = {
98-
render(state, instance) {
99-
const container = document.createElement('div')
100-
container.lang = "zh-CN"
101-
container.className = 'gitment-container gitment-root-container'
102-
container.appendChild(instance.renderHeader(state, instance))
103-
container.appendChild(instance.renderEditor(state, instance))
104-
container.appendChild(instance.renderComments(state, instance))
105-
container.appendChild(instance.renderFooter(state, instance))
106-
return container
107-
},
108-
}
109-
var gitment = new Gitment({
110-
owner: 'CB-X2-Jun',
111-
repo: 'CB-X2-Jun/Github_Proxy',
112-
theme: myTheme,
113-
oauth: {
114-
client_id: 'Ov23liBmLpGDqiz84Wqv',
115-
client_secret: 'af556c87e8c53600dfce3137cf298e61955ed643',
116-
},
117-
})
118-
gitment.render('container')
119-
</script>
120-
12193
<div class="footer">
12294
<div class="footer-content">
12395
<div class="copyright">
124-
© 2025 Eternity-Sky and CB_X2_Jun. All rights reserved. &emsp; <a href="https://icp.gov.moe/?keyword=20255355" target="_blank">萌ICP备20255355号</a>
96+
<!-- © 2025 Eternity-Sky and CB_X2_Jun. All rights reserved. &emsp; -->
97+
<a href="https://icp.gov.moe/?keyword=20255355" target="_blank">萌ICP备20255355号</a>
12598
</div>
12699
<a href="https://github.com/CB-X2-Jun/Github_Proxy"
127100
class="github-link"

0 commit comments

Comments
 (0)