About website-core-template
A foundational core template for building extensible, content-driven websites. Designed as a clean starting point for projects of any size.
Features
Multi-Language Ready
Built-in internationalization support from the ground up. No retrofitting required — i18n is a first-class citizen.
Update-Safe Architecture
The template is designed so you can update the core without losing your customizations. Your content, templates, and configurations are preserved.
Easy Extensibility
Add features without modifying core files. The architecture encourages clean separation between the template and your customizations.
Content-Focused
Optimized for content-driven sites with Astro’s content collections. Write in Markdown or MDX, get a fast static site.
Performance-First
Built with Astro for optimal performance. Partial hydration means JavaScript only loads where needed.
Architecture
src/
├── content/ # Your content (preserved on update)
│ └── pages/ # MDX pages
├── templates/
│ ├── _your-template/ # Your custom template (preserved)
│ └── affiliate/ # Core template
├── data/ # Site configuration (preserved)
└── components/ # Shared components
Getting Started
# Clone the template
git clone https://github.com/affiliatefm/website-core-template
# Install dependencies
npm install
# Start development
npm run dev
Why We Built It
Every affiliate.fm project starts from this template. By open-sourcing it, we:
- Enable others to build similar projects
- Receive community improvements
- Maintain consistency across our ecosystem
- Provide a solid foundation for ethical affiliate sites
Use Cases
Perfect for building:
- Affiliate review sites — The template is designed with affiliate content in mind
- Multi-language platforms — Built-in i18n for global reach
- Documentation sites — Markdown-based content with structure
- Blog networks — Multiple related sites from one codebase
Community
This is open source. Contributions are welcome:
- Report issues
- Suggest features
- Submit pull requests
- Share how you’re using it