Bootstrap for static site with gulp + pug + stylus + uglify + image optimization
[sudo] npm install
or
yarn
|-- project
| |-- _includes <-- Include files - https://pugjs.org/language/includes.html
| | |-- footer.pug
| | |-- navbar.pug
| |-- _layouts <-- Layout files - https://pugjs.org/language/extends.html
| | |-- default.pug
| |-- _mixins <-- Mixin files - https://pugjs.org/language/mixins.html
| |-- _site <-- Your pug files to site
| | |-- contact
| | | |-- index.pug
| | |-- features
| | | |-- index.pug
| | |-- index.pug
| |-- assets
| | |-- images
| | | |-- example.png
| | |-- javascripts
| | | |-- example.js
| | |-- stylesheets
| | | |-- example.css
| |-- dist <-- Folder with compiled files
| |-- .editorconfig <-- Indentation styles - http://editorconfig.org
| |-- .gitignore
| |-- gulpfile.js
| |-- package.json
Development
$ npm start
or
$ gulp serve
Compile files
$ npm run deploy
or
$ gulp dist