Skip to content

Commit 13e38af

Browse files
authored
Update server.js
1 parent 4039252 commit 13e38af

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/npm/server.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ app.get('/wiki/:title', (req, res) => {
114114
<body>
115115
<div class="navbar">
116116
<a href="https://scratch-coding-hut.github.io/index.html">Home</a>
117-
<a href="https://scratch-coding-hut.github.io/Wiki/sitemaplinks.html">Create Wiki & List Of Wikis</a>
117+
<a href="https://scratch-coding-hut.github.io/Wiki/sitemaplinks.html">Create Wiki</a>
118+
<a href="https://scratch-coding-hut.github.io/Wiki/sitemaplinks.html">Wiki List</a>
118119
</div>
119120
<div class="wiki-content">
120121
<h2>${wiki.title}</h2>
@@ -124,9 +125,9 @@ app.get('/wiki/:title', (req, res) => {
124125
<a href="https://scratch-coding-hut.github.io/Wiki/edit?edit=${encodeURIComponent(wiki.title)}" class="edit-button">Edit Wiki</a>
125126
<a href="https://scratch-coding-hut.github.io/Wiki/report.html?wiki=${encodeURIComponent(wiki.title)}" class="report-button">Report</a>
126127
<button class="delete-button" onclick="deleteWiki(${wiki.id})">Delete Wiki</button>
127-
</div>
128+
128129
129-
<h3>Talk Page</h3>
130+
<h2>Talk Page</h2>
130131
131132
<script src="https://utteranc.es/client.js"
132133
repo="Scratch-Coding-Hut/Scratch-Coding-Hut.github.io"
@@ -137,7 +138,7 @@ app.get('/wiki/:title', (req, res) => {
137138
async>
138139
</script>
139140
</div>
140-
141+
</div>
141142
<script>
142143
function getUsernameFromURL() {
143144
const urlParams = new URLSearchParams(window.location.search);

0 commit comments

Comments
 (0)