Starter Template for Netlify CMS, Eleventy, Alpine JS & Tailwind CSS
https://neat-starter.netlify.app/
![]() |
|---|
Detailed instructions are available in my blog. Check it out
git clone https://github.com/surjithctly/neat-starter.git
cd neat-starter
npm install
This step is only required the very first time.
npm run build
npm run start
This starter template includes comprehensive multilingual support with Finnish as the default language and English as a secondary option.
- 🇫🇮 Finnish (Default): Root URLs (
/,/blog/) serve Finnish content - 🇬🇧 English: Prefixed URLs (
/en/,/en/blog/) serve English content - 🔄 Language Switching: Interactive language switcher in navigation
- 📝 Multilingual CMS: Separate Decap CMS collections for each language
- 🎨 Localized UI: All interface elements translated via
i18nsystem - 🌐 SEO Friendly: Proper hreflang tags and language-specific meta data
/ → Finnish homepage (default)
/en/ → English homepage
/blog/ → Finnish blog listing
/en/blog/ → English blog listing
/posts/[slug]/ → Finnish blog posts
/en/posts/[slug]/ → English blog posts
Decap CMS Collections:
- Blog (Finnish): Manages content in
src/fi/posts/ - Blog (English): Manages content in
src/en/posts/ - UI & Content: Manages translations and site settings
Translation System:
Edit translations in src/_data/i18n.js and use in templates:
{{ "nav.home" | i18n(lang) }}- Update
src/_data/languages.jswith new language config - Add translations to
src/_data/i18n.js - Create content structure:
src/[lang]/withindex.html,blog/,posts/ - Update Eleventy config with new collection
- Add CMS collection for new language
For detailed i18n documentation, see I18N_GUIDE.md.
Surjith S M ( @surjithctly )
