Learn how to customize this theme using the tools included.
To set up the theme, you need:
- A command-line tool.
- Node.js (includes npm).
Open your terminal, ensure you are in the same directory of the unzipped theme, and run the following command to install all dependencies:
In the terminal, run the following command:
It compiles the source files, generates the site, starts a local server at
localhost:8080, and opens the browser automatically.
The theme uses Eleventy static site generator.
You can add metadata in your page templates:
description: Boost is a clean and accessible theme for Bootstrap.
- Layout: the template used to wrap the content.
- Title: page title.
- Description: page meta description.
- Permalink: allows remapping your template's URI.
Eleventy only copies the images from the src folder to the dist folder. To get faster load times, use the right image size and compress them using an app like Squoosh (Web app) or ImageOptim (Mac app).
Once your site is ready to publish, run the following command:
It generates the site from scratch and removes unused CSS.