Remaking my website almost completely from scratch again! (although shrines will be imported, dw!!)
There's a big overhaul I wanna work on though. And then I'm returning to my borderless backgrounds hoard/collection! Really want to make that exist!!
(i also started wearing Lolita fashion so that'll maybe be a new section of the site too!!)
However I do need a little help. I want to fix up the spaghetti code of Rabbitnet. Does anybody know of a good way to keep my sidebar and heading consistent across pages without having to copy and paste it all the time *or* use iframes??? 👉👈 🥺 I can't keep living this copy + paste life, it's a nightmare
i've got this bookmarked somewhere, somebody somewhere on neocities has a tutorial/code snippet that i believe uses javascript to make navigation-coding less of a chore; i'll try and find it and get back to you (or hopefully a magical person who has the code will see this post)!! :3
ok this actually might be what you're looking for https://petrapixel.neocities.org/coding/layout-base-code
@kkbkkb YES!!! THANK YOU! I remember seeing this tutorial forever ago and forgetting to bookmark it lmao. Thank you this will be so helpful!
not necessarily what you're looking for and i do recommend using the prepackaged js solution but if you ever for some reason need a native html solution for includes you can save the code separately as it's own html file (without html head body tags etc) and use <object type="text/html" data="this is where the filename goes"></object>
I would suggest Silkscreen, not sure how it looks in larger sizes though, but maybe that could work!