commit 42055ad

chld  ·  2026-06-12 04:57:55 +0000 UTC
parent 4b7436d
fix blog links?
4 files changed,  +22, -4
+9, -0
 1@@ -1,8 +1,11 @@
 2 #!/bin/sh -eu
 3 
 4+blog=0
 5 [ -z $m ] && m=index.html
 6 [ -z $c ] && c=contents.html
 7 
 8+grep '<!-- THISISABLOG -->' $m && blog=1
 9+
10 echo > $m # restart
11 
12 printf "<style>\n" >> $m
13@@ -30,3 +33,9 @@ printf "</center>" >> $m
14 
15 printf "</body>\n" >> $m
16 }
17+
18+[ $blog -eq 1 ]&&{
19+sed -i 's/PRF/../g' $m
20+}||{
21+sed -i 's/PRF//g' $m
22+}
+1, -0
1@@ -6,3 +6,4 @@ so i wanna try and make this shell script that grabs from a directory blog/, and
2 <br>okay thats it, see you later</p>
3 
4 <title>blog - hello world</title>
5+<!-- THISISABLOG -->
+11, -3
 1@@ -32,19 +32,23 @@ a:active {
 2 <br>
 3 <a href=index.html style="color: #0f0f0f;"><h1 style="color: #0f0f0f;">CHLD</h1></a>
 4 <p>[ <a href=index.html>home</a> | <a href=https://codeberg.org/chld/web>src</a> | <a href=https://4plt.ch>ROOT</a> ]</p>
 5-/* <a href=findme.html>me</a> | <a href=webring.html>webring</a> | <a href=>blog</a> */
 6+/* <a href=findme.html>me</a> | <a href=webring.html>webring</a> | <a href=blog.html>blog</a> */
 7 <script>
 8         const fortunes = [
 9             "so good",
10             "its chld",
11             "who you know and hate",
12+	    "i dont know you but i hate you",
13             "fuck, man",
14             "cholodu",
15             "codeberg",
16             "sourcehut is ran by a pedo",
17+	    "licar is cool but its made by a pedo",
18+	    "ok ill stop talking about pedos",
19             "im unsure ",
20-            "imo ",
21+            "imo",
22             "im green",
23+	    "im not green, fool",
24             "how do you know my ip",
25             "im not european, stop saying so",
26             "neuswc",
27@@ -60,12 +64,14 @@ a:active {
28             "css",
29             "fuck, woman",
30             "9front is cool",
31+	    "pita never write a fortune again",
32             "i may have emmc storage",
33 	    "thank you <a href=https://4plt.ch>for hosting this!</a>",
34             "is this not running off of localhost",
35             "pita, are you hosting this?",
36             "join #derive on <a href=https://ergo.chat>irc</a>",
37-            "exploit my website then"
38+            "exploit my website then",
39+	    "i wrote this specific fortune on a thinkpad x270"
40         ];
41 
42         const randomIndex = Math.floor(Math.random() * fortunes.length);
43@@ -89,4 +95,6 @@ a:active {
44 <a href=https://freebsd.org><img src="assets/freebsd3.gif" alt="i run freebsd on all my laptops"></a>
45 <img src="assets/xterm.png" alt="xterm">
46 <a href=https://www.vim.org><img src="assets/neovim.gif" alt="i wrote this with vim"></a>
47+<a href=https://alpinelinux.org><img src="https://ouppyawa.xyz/GIFs/alpine.png" alt="only good linux distro imo"></a>
48+<a href=https://codeberg.org/chld><img src="https://ouppyawa.xyz/GIFs/codeberg.png" alt="check it bitch"></a>
49 </center></body>
+1, -1
1@@ -4,4 +4,4 @@
2 <br>
3 <a href=index.html style="color: #0f0f0f;"><h1 style="color: #0f0f0f;">CHLD</h1></a>
4 <p>[ <a href=index.html>home</a> | <a href=https://codeberg.org/chld/web>src</a> | <a href=https://4plt.ch>ROOT</a> ]</p>
5-/* <a href=findme.html>me</a> | <a href=webring.html>webring</a> | <a href=blog.html>blog</a> */
6+/* <a href=PRFfindme.html>me</a> | <a href=PRFwebring.html>webring</a> | <a href=PRFblog.html>blog</a> */