.. | ||
img | ||
README.md |
Home Page Partials
This directory contains partial HTML files that make up the home page content. Breaking the content into smaller, manageable pieces makes it easier to maintain and update specific sections of the home page.
Files
-
home1.html
- Contains the welcome section
- Includes the main heading and subtitle
- Located at the top of the home page
-
home2.html
- Contains the features grid section
- Displays three feature cards in a responsive grid layout
- Located in the main content area
Usage
These partials are included in index.html
using HTML comments as markers:
<!-- Include home1.html -->
<div id="home1">
<!-- @include home/home1.html -->
</div>
<!-- Include home2.html -->
<div id="home2">
<!-- @include home/home2.html -->
</div>
Adding New Sections
To add a new section:
- Create a new file (e.g.,
home3.html
) in this directory - Add your section content to the file
- Include it in
index.html
using the same pattern as above