fix: missing links, credits et al

This commit is contained in:
Rudra Saraswat 2025-12-13 12:49:46 +00:00
parent 19b97f2af6
commit 296c1cde1b
5 changed files with 11 additions and 22 deletions

View file

@ -21,7 +21,7 @@ html {
body {
margin: 1em auto;
width: 100%;
max-width: 1000px;
max-width: 1200px;
line-height: 1.25;
font-size: 0.9em;
font-family: 'Comic Relief', serif;
@ -100,5 +100,5 @@ ul {
}
div {
font-size: 1.2em;
font-size: 1.45em;
}

View file

@ -48,7 +48,7 @@
<ul>
<li>GitHub: <a href="https://github.com/RudraSwat">RudraSwat</a></li>
<li>X(itter): <a href="https://x.com/RudraSaraswat1">@RudraSaraswat1</a> (inactive)</li>
<li><a href="/site/pages/credits.html">credits</a></li>
<li>IRC (Libera): rs2009</li>
</ul>
</div>
</div>

View file

@ -55,6 +55,7 @@
<li><a href="https://cyber.dabamos.de/88x31/">cyber.dabamos.de/88x31/</a></li>
</ul>
</li>
<li>Web Revivalism: <a href="https://thoughts.melonking.net/guides/introduction-to-the-web-revival-1-what-is-the-web-revival">What is the Web Revival?</a></li>
</ul>
</div>
</div>

View file

@ -35,23 +35,6 @@
</ul>
</div>
</div>
<div class="window active">
<div class="title-bar">
<div class="title-bar-text">pages</div>
<div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button>
</div>
</div>
<div class="window-body has-space">
<ul>
<li><a href="/site/">home</a></li>
<li><a href="/site/pages/notes.html">notes</a></li>
<li><a href="/site/pages/credits.html">credits</a></li>
</ul>
</div>
</div>
</div>
<div class="box-content subcontainer">
<div class="window active">

View file

@ -1,9 +1,14 @@
let posts = {
'first post!': 'first-post'
'first post!': 'first-post',
}
Object.keys(posts).forEach(post => {
document.getElementById('posts_list').innerHTML += `
if (post.length > 35)
document.getElementById('posts_list').innerHTML += `
<li><a href="/site/blog.html?post=${posts[post]}">${post.slice(0, 35)}...</a></li>
`
else
document.getElementById('posts_list').innerHTML += `
<li><a href="/site/blog.html?post=${posts[post]}">${post}</a></li>
`
});