Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on Reusing HTML without rewriting it
Parent
Reusing HTML without rewriting it
I have a site hosted through GitHub and I'm using footers for special links and it also serves as my main navigation bar for now. I find it a little frustrating to manually copy-paste the footer's contents and I could end up having footers different from one site to another with me missing a page or two to edit.
I'm aware of scripting languages, so that may be the way for me to continue, but with my lack of understanding of those languages, what can I do to automatically output something on every page of a site?
Post
Use static site generator to manage your footer on multiple pages. GitHub supports Jekyll, by this you can create templates for common elements like footers.
1 comment thread