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.
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
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
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