This is a child theme created for the Genesis Framework, intended as a starting point for theme developers. Please do not use this directly in production.
- Author: Gaurav Pareek
- Author URI: magikpress.com
- Version: 0.1
##How to use
- Install nodejs and npm.
- Run
sudo npm install grunt-cli
- cd to the theme folder, and run
npm install
. This will install all dependencies for the theme. - Make changes and run
grunt
to compile the changes.
##Few points
- All the less files are in
assets/less
. The most important isapp.less
, in which all other less files are imported. There is an index to see what lies in each file. You can just edit whatever files you want in thepartials
folder.. - You can exclude various less files from the
partial
folder if you don't want them. The standard stylesheet from Genesis is called Genesis.less, so you should exclude it if you plan to write all cs from scratch. - All javascript plugins(third-party) will go in
assets/js/vendor
. You can install via bower if you have that installed. You will have to add these in your Gruntfile.js to be included. - DO NOT edit style.css directly, IT WILL BE OVERWRITTEN every time you run grunt.
##Grunt tasks
- Running
grunt
will simply convert less to css, minify and compress all css and js, and generatemain.min.js
,plugins.min.js
andstyle.css
. - If you want to optimize your images, run
grunt imagemin
. - Running
grunt watch
will watch the files and will compile as soon as you save the changes. - You can set options for deployment in Gruntfile.js and then you can deploy with a single command to your server.
##Credits
- Takes grunt portions from https://github.com/mattbanks/Genesis-Starter-Child-Theme/tree/master
- Takes portions from https://github.com/julianfernandes/personal-genesis
- Takes mixins from Bootstrap https://github.com/twbs/bootstrap
##Support
This theme comes with NO support.
However you can file issues, or drop me a question at [email protected], and I will see if I can answer. You can also find me on Google Plus.