Live Demo: brooks-html-template.netlify.app
Brook is a free, open-source blog template built with Bootstrap 5 and Eleventy 3. A clean, focused design for writers and content creators.
- Clean blog layout
- Post grid
- Category pages
- Author section
- Newsletter signup
- Responsive design
- Dark mode support
If you're familiar with basic HTML but not advanced web development, you can still use Brook. Simply use the /public folder from this repository. Edit the content, add your images, and upload it to your web server. Done!
Brook is built on:
- Bootstrap 5 - CSS framework
- Eleventy 3 - Static site generator
- Nunjucks - Template language (Eleventy also supports Liquid, Handlebars, Pug, and more)
- Gulp - Task runner for SCSS compilation and optimization
Eleventy allows you to use various data sources: static content, computed data, APIs, frontmatter, markdown files, and more.
- Node.js 18+ (required for Eleventy 3)
Check your Node version:
node --version- Clone or download this repository
- Open your terminal and navigate to the project folder
- Run:
npm installBuild without minification (faster, readable output):
npm run build-devOutput is stored in the /dev folder.
For development with auto-rebuild on file changes:
npm run watchThis will:
- Build the site to
/dev - Compile SCSS to CSS
- Start BrowserSync
- Auto-rebuild on file changes
Build optimized site for deployment:
npm run buildThis will:
- Compile and minify CSS
- Purge unused CSS
- Minify HTML
Output is stored in the /public folder - deploy this to your web server.
MIT