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.
Post History
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 ...
Question
html
#2: Post edited
Reusing code without rewriting it
- 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?
#1: Initial revision
Reusing code 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?