HTML Theme Builder is an environment to build HTML templates more efficiently.
- Download this as a zip. Then extract it and rename to your project
- Install nodejs and follow the instructions on how to do that on http://nodejs.org/
- After installing nodejs on your computer open up your Command Line Tool and execute: $ npm install --global gulp
- Navigate to the root of your project and execute: $ npm install
- Now all setup done, run it by executing: $ gulp
The root of your project has the following basic structure:
project
|
|-- app
| |
| |-- _sections
| | |
| | |-- header.htm
| | |-- footer.htm
| | |-- home-about.htm
| | |-- home-slider.htm
| | |-- home-testimonials.htm
| |
| |-- img
| | |
| | |-- blog
| | |
| | |-- gallery
| | |
| | |-- other
| | |
| | |-- parallax
| | |
| | |-- patterns
| | |
| | |-- shop
| | |
| | |-- slider
| | |
| | |-- logo.png
| | |-- logo-sm-light.png
| | |-- favicon.png
| |
| |-- js
| | |
| | |-- custom.js
| |
| |-- plugins
| | |
| | |-- bootstrap
| | |
| | |-- font-awesome
| | |
| | |-- owl-carousel
| | |
| | |-- smoothscroll
| |
| |-- scss
| | |
| | |-- partials
| | | |
| | | |-- _media-query.scss
| | | |-- _mixins.scss
| | | |-- _variables.scss
| | |
| | |-- _header.scss
| | |-- _footer.scss
| | |-- _about.scss
| | |-- _sliders.scss
| | |-- _testimonials.scss
| | |-- style.scss
| |
| |-- index.html
|
|-- builds
|
|-- gulpfile.js
|-- package.json
`-- README.mdThe root of app folder contains main html files which only combine HTM files from project/app/_sections folder.
This folder contains all the includable HTML sections. Name the global sections like header/footer with no prefix and specific page sections with that page prefix.
This folder contains all the images. Keep global images like logo in root, reusable images like patterns in specific folder and specific type images like sliders in separate folder.
This folder contains custom js files.
This folder contains all the plugins. Make sure all the plugins are uptodated. Do not edit any plugin files. Customized js code will be only in the project/app/js folder and css code in the project/app/scss folder.
This folder contains all the css codes.
This folder contains all the generated files form project/app folder. When gulp will run, files will be generated automatically.
This is the gulp configuration file.
This is NPM package control file.