A clean, responsive short-story template with soft-blue light theme and GitHub-style pure black dark mode.
- Light/Dark mode toggle with smooth fade (saved in localStorage)
- Auto-featured newest story by date
- Categories grid + modern tag chips
- Favorites (pre-seeded) • Search • Length filter • Sort
- Latest stories slider (scroll-snap)
- Reader panel adapts to dark mode
- Contact page with premium form (Netlify-ready)
index.html about.html contact.html terms.html assets/css/styles.css assets/js/script.js assets/img/logo.svg, favicon.ico, preview.png
Just open index.html
.
- Push this folder to GitHub.
- Go to repo → Settings → Pages → Deploy from branch →
main
→/ (root)
.
- Push this folder to GitHub.
- In Netlify: Add new site → Import from Git → pick your repo → Deploy.
- Netlify will auto-detect the form in
contact.html
(thanks todata-netlify="true"
) and start collecting submissions in the dashboard under Forms.
Edit assets/js/script.js
→ stories
array.
The newest date becomes Featured Story automatically.