Boilerplate/theme for getgrav CMS
Haywire is a modern starter theme/boilerplate for Grav. The idea behind the theme is to help developers get started quickly on their new getgrav projects using modern frameworks and tools such as yarn, laravel-elixir, bootstrap.
It is recommended that you install the admin-plugin package when using this theme.
This theme is under active development, use
master
branch for the latest version.
Features
- Yarn
- Bootstrap-sass
- Laravel-elixir
- Gulp
- Bower
Installation / Usage
Grav Package Manager)
(Recommended) bin/gpm ($ cd ~/gravroot
$ bin/gpm install haywire
$ cd /user/themes/haywire
$ yarn
$ bower install
$ gulp
Manual installation
$ cd ~/gravroot/user/themes
$ git clone https://github.com/robbinfellow/haywire-grav.git haywire
$ cd haywire
$ yarn
$ bower install
$ gulp
Demo
Installing through bin/gpm will prompt you to install the demo content automatically.
However if you install the theme manually you can copy the contents of _demo/pages/
into your user/pages/
folder for a quick demo content of your site.
Laravel elixir
Compile assets => gulp
Watch scss/js => gulp watch
Minify assets => gulp --production
Compiled assets goes into the
/dist
directory, these files are generated for you through laravel-elixir, you should not edit these files manually!
Updating
bin/gpm update
The easiest way to update this theme is via the Grav Package Manager:
bin/gpm update haywire
Contribute
Contributions are welcome from everyone.
Bug reports
Create an issue with detailed information regarding the problem.
Feature requests
Feature requests are more than welcome! Create an issue or make a pull request to develop
branch with detailed information/description of your request.
Donations
If this project helps you develop your grav-site in a faster, more efficient way, feel free to give me a cup of
License
Haywire grav theme is an open-sourced software licensed under the MIT license.