Skip to content

Commit f7d7972

Browse files
authored
Added talk page for each wiki page
1 parent cbcd950 commit f7d7972

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/npm/server.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,17 @@ app.get('/wiki/:title', (req, res) => {
125125
<a href="https://scratch-coding-hut.github.io/Wiki/report.html?wiki=${encodeURIComponent(wiki.title)}" class="report-button">Report</a>
126126
<button class="delete-button" onclick="deleteWiki(${wiki.id})">Delete Wiki</button>
127127
</div>
128+
129+
<h3>Talk Page</h3>
130+
131+
<script src="https://utteranc.es/client.js"
132+
repo="Scratch-Coding-Hut/Scratch-Coding-Hut.github.io"
133+
issue-term="url"
134+
label="Website Comments"
135+
theme="github-light"
136+
crossorigin="anonymous"
137+
async>
138+
</script>
128139
</div>
129140
130141
<script>

0 commit comments

Comments
 (0)