jineshnagori/blogspot

Create a Reusable Footer Template

開放

#309 建立於 2025年10月4日

 (4 則留言) (0 個反應) (2 位負責人)HTML (190 個分叉)auto 404
enhancementgood first issuehacktoberfesthacktoberfest-accepted

倉庫指標

星標
 (39 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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>

貢獻者指南