Closed HalosGhost closed 5 years ago
via https://github.com/HalosGhost/halosgho.st/commit/946327dda17ecd45d6d9e1132703bb384c8c0210
Okay. So I ended up going a different route:
This way, I don't need any dynamic content at all and I still get an updated-copyright year.
You know what's crazy?
/index
is entirely dynamic content; loaded as a template and populated on every page load. You know why? because it lets us have an always-up-to-date copyright notice year.This was, initially, a proof-of-concept for working with lwan templates. Practically speaking, though, it is totally unnecessary. As I am planning on moving away from dynamic content in favor of
stagit
(cf. #9), even this piece is not necessary..So, current plan:
/index
to be static content/footer
) that will return the full footer content (possibly as a lwan template; undecided)iframe
on/index
for the footer content so it loads dynamically, but the page itself is staticThis should accomplish a few things:
/index
(yay, default async loading foriframe
s!)