jineshnagori/blogspot

Create a Reusable Footer Template

Open

#309 opened on Oct 4, 2025

 (4 comments) (0 reactions) (2 assignees)HTML (190 forks)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-accepted

Repository metrics

Stars
 (39 stars)
PR merge metrics
 (PR metrics pending)

Description

The footer HTML is identical across all pages. To fix this, we need to create a single source of truth for it.

Tasks:

  • Create a new folder named templates/.
  • Inside it, create a new file: footer.html.
  • Copy the entire <footer>...</footer> block from any page and paste it into footer.html.
  • On each page (e.g., index.html), replace the hardcoded footer with a placeholder: <div id="footer-placeholder"></div>

Contributor guide