Garth is a modern, clean, and responsive theme for Cecil. It is a port of the Garth theme for Jekyll created by David Darnes.
composer require cecil/theme-garthOr download the latest archive and uncompress its content in
themes/garth.
Add garth in the theme section of your config.yml:
theme:
- garthassets:
compile:
variables:
bodyColour: '#5a5a5a'
linkColour: '#7E4EA3'
backgroundColour: '#F1F3F4'- Copy
themes/garth/assets/sass/garth.scsstoassets/sass/garth.scss - Copy
themes/garth/assets/sass/_colors.scsstoassets/sass/_colors.scss - Edit colors in
_colors.scss
The demo/ folder contains a demo website, built and deployed to GitHub Pages.
To preview it locally, link the theme in demo/themes/garth then run Cecil:
mkdir -p demo/themes && ln -s ../.. demo/themes/garth
php cecil.phar serve demoOn Windows:
New-Item -ItemType Junction -Path demo/themes/garth -Target (Get-Location).Path
Garth is a free software distributed under the terms of the MIT license.
