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.
- Yarn
- Bootstrap-sass
- Laravel-elixir
- Gulp
- Bower
(Recommended) bin/gpm (Grav Package Manager)
$ cd ~/gravroot
$ bin/gpm install haywire
$ cd /user/themes/haywire
$ yarn
$ bower install
$ gulp
$ cd ~/gravroot/user/themes
$ git clone https://github.com/robbinfellow/haywire-grav.git haywire
$ cd haywire
$ yarn
$ bower install
$ gulp
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.
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!
The easiest way to update this theme is via the Grav Package Manager:
bin/gpm update haywire
Contributions are welcome from everyone.
Create an issue with detailed information regarding the problem.
Feature requests are more than welcome! Create an issue or make a pull request to develop
branch with detailed information/description of your request.
If this project helps you develop your grav-site in a faster, more efficient way, feel free to give me a cup of ☕ :)
Haywire grav theme is an open-sourced software licensed under the MIT license.