Neocities.org

SkeletalComrade-Home

katalyst.neocities.org

14,988 views
12 followers
924 updates
0 tips
Yo does anyone know how to make a section of html update automatically across all pages? getting my sidebar to stay up to date on all pages manually is a pain in the ass.
1 like
goblin-heart 2 years ago

Hi! I have two ways of doing it, you can choose whichever makes the most sense to you! https://learn.sadgrl.online/put-a-navbar-or-sidebar-on-every-page/ is the first way (it needs an extra script on each page so it can be annoying). You can also do it with plain JS, which I made a demo for here: https://codepen.io/sadness97/pen/bGvJQMw

1 like
craftinatorics 2 years ago

I am using a static site generator to fix this. That way the resulting pages are identical to before (and no scripting or frames on the visitors end) but it requires a little setup

Website Stats

Last updated 1 year ago
CreatedAug 15, 2022
Site Traffic Stats

Tags

personal blog politics art socialism