From d3d284c9cee7f8d9a5e47db06ef2643e0d231030 Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Fri, 3 Jul 2026 14:23:21 -0300 Subject: [PATCH] Add blog posts to home screen, make template for webrings, add footer, remove unused stuff --- _data/i18n.js | 14 +- _includes/base.njk | 11 +- _includes/macros.njk | 13 ++ _includes/post.11tydata.js | 3 - _includes/widgets/droidring.html | 44 +++++ index.njk | 158 ++++++---------- maintenance/edit-i18n.js | 191 -------------------- misc/about/index.njk | 1 + school/telnet-en.html | 61 ------- static/images/88x31/88x31-micro-button.gif | Bin 0 -> 1040 bytes static/images/88x31/C4YSB2.gif | Bin 0 -> 2466 bytes static/images/88x31/FCbw.gif | Bin 0 -> 5045 bytes static/images/88x31/abs.gif | Bin 0 -> 2696 bytes static/images/88x31/agplv3-88x31.gif | Bin 0 -> 2109 bytes static/images/88x31/altavista.gif | Bin 0 -> 1193 bytes static/images/88x31/archlinux.gif | Bin 0 -> 3023 bytes static/images/88x31/banner2.gif | Bin 0 -> 201080 bytes static/images/88x31/banporn.gif | Bin 0 -> 1999 bytes static/images/88x31/blink-0.gif | Bin 0 -> 6566 bytes static/images/88x31/blinkie.gif | Bin 0 -> 48436 bytes static/images/88x31/buttonaban.gif | Bin 0 -> 50759 bytes static/images/88x31/cab.gif | Bin 0 -> 1882 bytes static/images/88x31/cannelle.gif | Bin 0 -> 28951 bytes static/images/88x31/code88x31_1.gif | Bin 0 -> 1476 bytes static/images/88x31/cogs.gif | Bin 0 -> 12376 bytes static/images/88x31/coke.gif | Bin 0 -> 2211 bytes static/images/88x31/coreboot.gif | Bin 0 -> 1063 bytes static/images/88x31/defcon1.gif | Bin 0 -> 6080 bytes static/images/88x31/destinysoulmates.gif | Bin 0 -> 8090 bytes static/images/88x31/digimon_terminal.gif | Bin 0 -> 18250 bytes static/images/88x31/disaster.gif | Bin 0 -> 20981 bytes static/images/88x31/disccontent.gif | Bin 0 -> 6619 bytes static/images/88x31/discord-no-way.gif | Bin 0 -> 1961 bytes static/images/88x31/discord.gif | Bin 0 -> 10038 bytes static/images/88x31/discord3.gif | Bin 0 -> 1881 bytes static/images/88x31/discordserver.gif | Bin 0 -> 318 bytes static/images/88x31/divx_logo2.gif | Bin 0 -> 2124 bytes static/images/88x31/dkbutton2.gif | Bin 0 -> 1975 bytes static/images/88x31/doc-cd-icon.gif | Bin 0 -> 3098 bytes static/images/88x31/dokuwiki.gif | Bin 0 -> 2344 bytes static/images/88x31/donate.gif | Bin 0 -> 1048 bytes static/images/88x31/donate2.gif | Bin 0 -> 42802 bytes static/images/88x31/dontklick.gif | Bin 0 -> 737 bytes static/images/88x31/dos.gif | Bin 0 -> 787 bytes static/images/88x31/dream_coloured.gif | Bin 0 -> 13981 bytes static/images/88x31/drpepper.gif | Bin 0 -> 2412 bytes static/images/88x31/email-icon.gif | Bin 0 -> 5061 bytes static/images/88x31/evangelion.gif | Bin 0 -> 5591 bytes static/images/88x31/evilnet.gif | Bin 0 -> 2362 bytes static/images/88x31/falink.gif | Bin 0 -> 3473 bytes static/images/88x31/fb_button.gif | Bin 0 -> 1130 bytes static/images/88x31/fckfb.gif | Bin 0 -> 780 bytes static/images/88x31/fckgoogle.gif | Bin 0 -> 2584 bytes static/images/88x31/fckingwww.gif | Bin 0 -> 6193 bytes static/images/88x31/fediverse.gif | Bin 0 -> 604 bytes static/images/88x31/fedora.gif | Bin 0 -> 1914 bytes static/images/88x31/fedora2.gif | Bin 0 -> 2093 bytes static/images/88x31/ffrediscover.gif | Bin 0 -> 2523 bytes static/images/88x31/fftake.gif | Bin 0 -> 2498 bytes static/images/88x31/fic005.gif | Bin 0 -> 4048 bytes static/images/88x31/fic009.gif | Bin 0 -> 3905 bytes static/images/88x31/filetransit.gif | Bin 0 -> 17678 bytes static/images/88x31/fpobutton.gif | Bin 0 -> 2836 bytes static/images/88x31/get_da.gif | Bin 0 -> 2290 bytes static/images/88x31/google_25wht.gif | Bin 0 -> 1554 bytes static/images/88x31/google_stand.gif | Bin 0 -> 21247 bytes static/images/88x31/hotgraphics.gif | Bin 0 -> 9780 bytes static/images/88x31/hotmail2.gif | Bin 0 -> 2101 bytes static/images/88x31/ipv6.gif | Bin 0 -> 2349 bytes static/images/88x31/latex.gif | Bin 0 -> 457 bytes static/images/88x31/ldp-link.gif | Bin 0 -> 3720 bytes static/images/88x31/macos.gif | Bin 0 -> 1641 bytes static/images/88x31/macos_mov.gif | Bin 0 -> 6956 bytes static/images/88x31/masto.gif | Bin 0 -> 11899 bytes static/images/88x31/microsoft_frontpage.gif | Bin 0 -> 9866 bytes static/images/88x31/minecraft.gif | Bin 0 -> 3588 bytes static/images/88x31/nobelief.gif | Bin 0 -> 1987 bytes static/images/88x31/noodle.gif | Bin 0 -> 3338 bytes static/images/88x31/now.gif | Bin 0 -> 2124 bytes static/images/88x31/nvidia.gif | Bin 0 -> 1118 bytes static/images/88x31/oldos.png | Bin 0 -> 744 bytes static/images/88x31/penguin.gif | Bin 0 -> 2182 bytes static/images/88x31/psbutton.gif | Bin 0 -> 429 bytes static/images/88x31/pyurk.gif | Bin 0 -> 2893 bytes static/images/88x31/vilogo.gif | Bin 0 -> 5815 bytes static/images/88x31/vim.gif | Bin 0 -> 411 bytes static/images/88x31/volta.gif | Bin 0 -> 18940 bytes static/images/88x31/wbbhosting.gif | Bin 0 -> 53243 bytes static/images/88x31/web3.gif | Bin 0 -> 483 bytes static/images/88x31/wrongcode.gif | Bin 0 -> 538 bytes static/images/grunge.png | Bin 0 -> 2370742 bytes static/main.css | 37 +++- 92 files changed, 172 insertions(+), 361 deletions(-) delete mode 100644 _includes/post.11tydata.js create mode 100644 _includes/widgets/droidring.html delete mode 100644 maintenance/edit-i18n.js delete mode 100644 school/telnet-en.html create mode 100644 static/images/88x31/88x31-micro-button.gif create mode 100644 static/images/88x31/C4YSB2.gif create mode 100644 static/images/88x31/FCbw.gif create mode 100644 static/images/88x31/abs.gif create mode 100644 static/images/88x31/agplv3-88x31.gif create mode 100644 static/images/88x31/altavista.gif create mode 100644 static/images/88x31/archlinux.gif create mode 100644 static/images/88x31/banner2.gif create mode 100644 static/images/88x31/banporn.gif create mode 100644 static/images/88x31/blink-0.gif create mode 100644 static/images/88x31/blinkie.gif create mode 100644 static/images/88x31/buttonaban.gif create mode 100644 static/images/88x31/cab.gif create mode 100644 static/images/88x31/cannelle.gif create mode 100644 static/images/88x31/code88x31_1.gif create mode 100644 static/images/88x31/cogs.gif create mode 100644 static/images/88x31/coke.gif create mode 100644 static/images/88x31/coreboot.gif create mode 100644 static/images/88x31/defcon1.gif create mode 100644 static/images/88x31/destinysoulmates.gif create mode 100644 static/images/88x31/digimon_terminal.gif create mode 100644 static/images/88x31/disaster.gif create mode 100644 static/images/88x31/disccontent.gif create mode 100644 static/images/88x31/discord-no-way.gif create mode 100644 static/images/88x31/discord.gif create mode 100644 static/images/88x31/discord3.gif create mode 100644 static/images/88x31/discordserver.gif create mode 100644 static/images/88x31/divx_logo2.gif create mode 100644 static/images/88x31/dkbutton2.gif create mode 100644 static/images/88x31/doc-cd-icon.gif create mode 100644 static/images/88x31/dokuwiki.gif create mode 100644 static/images/88x31/donate.gif create mode 100644 static/images/88x31/donate2.gif create mode 100644 static/images/88x31/dontklick.gif create mode 100644 static/images/88x31/dos.gif create mode 100644 static/images/88x31/dream_coloured.gif create mode 100644 static/images/88x31/drpepper.gif create mode 100644 static/images/88x31/email-icon.gif create mode 100644 static/images/88x31/evangelion.gif create mode 100644 static/images/88x31/evilnet.gif create mode 100644 static/images/88x31/falink.gif create mode 100644 static/images/88x31/fb_button.gif create mode 100644 static/images/88x31/fckfb.gif create mode 100644 static/images/88x31/fckgoogle.gif create mode 100644 static/images/88x31/fckingwww.gif create mode 100644 static/images/88x31/fediverse.gif create mode 100644 static/images/88x31/fedora.gif create mode 100644 static/images/88x31/fedora2.gif create mode 100644 static/images/88x31/ffrediscover.gif create mode 100644 static/images/88x31/fftake.gif create mode 100644 static/images/88x31/fic005.gif create mode 100644 static/images/88x31/fic009.gif create mode 100644 static/images/88x31/filetransit.gif create mode 100644 static/images/88x31/fpobutton.gif create mode 100644 static/images/88x31/get_da.gif create mode 100644 static/images/88x31/google_25wht.gif create mode 100644 static/images/88x31/google_stand.gif create mode 100644 static/images/88x31/hotgraphics.gif create mode 100644 static/images/88x31/hotmail2.gif create mode 100644 static/images/88x31/ipv6.gif create mode 100644 static/images/88x31/latex.gif create mode 100644 static/images/88x31/ldp-link.gif create mode 100644 static/images/88x31/macos.gif create mode 100644 static/images/88x31/macos_mov.gif create mode 100644 static/images/88x31/masto.gif create mode 100644 static/images/88x31/microsoft_frontpage.gif create mode 100644 static/images/88x31/minecraft.gif create mode 100644 static/images/88x31/nobelief.gif create mode 100644 static/images/88x31/noodle.gif create mode 100644 static/images/88x31/now.gif create mode 100644 static/images/88x31/nvidia.gif create mode 100644 static/images/88x31/oldos.png create mode 100644 static/images/88x31/penguin.gif create mode 100644 static/images/88x31/psbutton.gif create mode 100644 static/images/88x31/pyurk.gif create mode 100644 static/images/88x31/vilogo.gif create mode 100644 static/images/88x31/vim.gif create mode 100644 static/images/88x31/volta.gif create mode 100644 static/images/88x31/wbbhosting.gif create mode 100644 static/images/88x31/web3.gif create mode 100644 static/images/88x31/wrongcode.gif create mode 100644 static/images/grunge.png diff --git a/_data/i18n.js b/_data/i18n.js index 17a0a25..af27cab 100644 --- a/_data/i18n.js +++ b/_data/i18n.js @@ -87,7 +87,12 @@ module.exports = { wrongosWebring: "This site is a member of the Wrongos webring.", previousSite: "previous site", nextSite: "next site", - random: "random" + random: "random", + showMore: "Show more", + previous: "previous", + next: "next", + about: "about", + thisWebsiteDoesNotTrackYou: "This website does not track you." }, pt: { language: "português", @@ -150,6 +155,11 @@ module.exports = { wrongosWebring: "Esse website faz parte do webring Wrongos.", previousSite: "site anterior", nextSite: "próximo site", - random: "aleatório" + random: "aleatório", + showMore: "Ver mais", + previous: "anterior", + next: "próximo", + about: "sobre", + thisWebsiteDoesNotTrackYou: "Esse website não rastreia você." } }; \ No newline at end of file diff --git a/_includes/base.njk b/_includes/base.njk index 8dda116..66a5297 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -13,20 +13,16 @@ Adrian Victor{% if pageTitle or postTitle %} - {{ pageTitle or postTitle }}{% endif %} - - - - @@ -37,21 +33,26 @@ + + +
+ {% include "header.njk" %} +
{{ content | safe }}
diff --git a/_includes/macros.njk b/_includes/macros.njk index eaeec1b..bdac862 100644 --- a/_includes/macros.njk +++ b/_includes/macros.njk @@ -40,4 +40,17 @@

{{ projectDescription }}

+{% endmacro %} + +{% macro webring(opts) %} +
+

{{ opts.text }}

+
+ {% for link in opts.links %} + {{ link | safe }} + {% endfor %} +
+
{% endmacro %} \ No newline at end of file diff --git a/_includes/post.11tydata.js b/_includes/post.11tydata.js deleted file mode 100644 index c45c03e..0000000 --- a/_includes/post.11tydata.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - langKey: data => data.lang -}; \ No newline at end of file diff --git a/_includes/widgets/droidring.html b/_includes/widgets/droidring.html new file mode 100644 index 0000000..d1e4545 --- /dev/null +++ b/_includes/widgets/droidring.html @@ -0,0 +1,44 @@ +
+
+
+ +
+ + + +
+ +
+
\ No newline at end of file diff --git a/index.njk b/index.njk index c666cdb..b35a01d 100644 --- a/index.njk +++ b/index.njk @@ -9,13 +9,13 @@ layout: base.njk {% from "macros.njk" import i88x31 with context %} {% from "macros.njk" import videoCard with context %} {% from "macros.njk" import projectCard %} +{% from "macros.njk" import webring %} -
-
+ +
+
- - +
+

{{ i18n[langKey].kaoMain | safe }}

{{ i18n[langKey].kaoLink | safe }} →

+

{{ i18n[langKey].welcome | smartTitle }}

{{ i18n[langKey].homeWelcomeParagraph | safe }}

@@ -60,6 +63,7 @@ layout: base.njk

{{ i18n[langKey].homeSocialsAndContactParagraphTwo | safe }}

+

{{ i18n[langKey].myMusic | smartTitle }}

@@ -88,6 +92,7 @@ layout: base.njk
+

{{ i18n[langKey].myVideos | smartTitle }}

@@ -107,6 +112,7 @@ layout: base.njk }}
+

{{ i18n[langKey].mySoftware | smartTitle }}

@@ -159,105 +165,61 @@ layout: base.njk
-