Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimalist Gatsby blog starter preconfigured with Forestry CMS, SCSS styling, and Netlify deploy support.
Brevifolia is a minimalist blog starter for Gatsby that pairs the React-based static site generator with Forestry as a Git-backed CMS, letting you run a static blog whose markdown content is managed through a visual interface.
Brevifolia is a starter repository that combines Gatsby's static site generation with Forestry's Git-based content management. It takes markdown blog posts, images, and YAML data files as input, and outputs a fully static Gatsby site ready to be deployed on Netlify or any static host. The project source lives at kendallstrautman/brevifolia-gatsby-forestry, and it is designed to give developers a minimal blog foundation while giving editors a CMS without leaving the Git workflow.
The starter ships with a focused set of features that keep the blog minimal while covering the essentials for a Gatsby plus Forestry workflow.
.forestry directory contains frontmatter configuration and sidebar settings, so content editors can manage posts, data files, and media through Forestry's UI, with changes committed directly to the repository.gatsby new, then run yarn dev or npm run dev to start a dev server at localhost:8000.Brevifolia suits developers and content editors who want a lightweight blog that keeps content in Git.
src/.With Brevifolia you can go from repository clone to a live, editable blog in a few commands.
gatsby new my-blog https://github.com/kendallstrautman/brevifolia-gatsby-forestry to get a working blog with a dev server.forestry:preview command that supports Forestry's instant previews on port 8080.gatsby-node.js handles the creation of blog pages from markdown, while gatsby-config.js reads site-level settings from config.json and merges them into Gatsby's graphql queries. The project separates content in content/ (posts, images, data files), pages in src/pages, a blog post template in src/templates, and reusable components in src/components. When Forestry saves a change, it edits the corresponding markdown or YAML file and commits to the repo, and the static site rebuilds.
No. Forestry is an optional CMS layer. The starter is a normal Gatsby project, so you can clone it, edit the markdown files directly, and run yarn dev to build the site without ever using Forestry. Forestry simply provides a visual editing interface over the same files.
Use the "Import this project into Forestry" quick-start button in the repository, or first run gatsby new [SITE_DIRECTORY_NAME] https://github.com/kendallstrautman/brevifolia-gatsby-forestry and then import that repo into Forestry at app.forestry.io. The .forestry directory already contains the sidebar and frontmatter settings.
Blog posts are written in markdown; data files use YAML (add gatsby-transformer-json if you prefer JSON). Images are handled through gatsby-image, which generates optimized paths. Media storage can be configured for git LFS, Cloudinary, S3, or Netlify Large Media.
The recommended path is Netlify: click the Deploy to Netlify button in the repository, or set up a new site that points at the repo. Netlify will run the Gatsby build and replicate the site on every push; when Forestry commits changes, Netlify automatically triggers a rebuild.
Yes. Global and component styles live under src/styles/ and are written in SCSS using CSS modules and the BEM convention. The starter's default font is Work Sans, which you can swap by editing the font imports and SCSS variables.
