Skip to content
Discussion options

You must be logged in to vote

✅ Converting to Multi-Page Static Site – Quick Guide
Here's the recommended approach for refactoring this template:

  1. Page Structure
    Each page should be a complete standalone HTML file.

Duplicate index.html for every new page (about.html, services.html, contact.html, etc.)
Keep the full , navbar, footer, and scripts in every file
Remove content that doesn't belong on that specific page

  1. Navigation
    Update your navbar links to point to real pages instead of sections:
    HTML
    Home
    About
    Services
    Contact
    Remove any JavaScript that was handling smooth scrolling between sections.
  2. Asset Paths (Important)
    Use root-relative paths for all CSS, JS, and images so they work from any page:
    HTML
<script s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kiwigitops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants