jineshnagori/blogspot

Create a Reusable Footer Template

Aperta

#309 aperta il 4 ott 2025

 (4 commenti) (0 reazioni) (2 assegnatari)HTML (190 fork)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-accepted

Metriche repository

Star
 (39 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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>

Guida contributor