Responsive gallery one-page template template, designed and coded by Maxim Orlov.
Demo: http://website-templates.github.io/simple-gallery_responsive-template
Product mockup created with http://magicmockups.com/
./
├── .editorconfig
├── README.md
├── automation.sh
|
├── gulp_tasks/ * gulp tasks
| ├── config/ * gulp tasks config
│ | ├── paths.js
│ | ├── settings.js
│ | └── aliases.js
│ |
| └── task.js
│
├── gulpfile.js
├── package.json
|
├── screenshots/ * responsive test screenshots
|
├── dev/ * site source
│ ├── images/ * image sources
| │
│ ├── pug/ * templates
| | ├── blocks/ * blocks library
| │ | └── block.pug
| │ ├── helpers/ * helper mixins
| │ ├── vendor/ * third-party code
| │ ├── layouts/ * page layouts
| │ └── pages/ * main pages templates
| │
│ ├── js/ * compiled and source js
| | ├── vendor/ * vendor scripts library
| | ├── lib/ * site scripts library
| │ ├── head.js * head scripts
| │ └── body.js * vendor scripts
| │
| ├── stylus/ * stylus preprocessor styles
| | ├── blocks/ * blocks library
| │ | └── block.styl
| │ ├── helpers/ * mixins and vars
| │ ├── vendor/ * third-party code
| │ ├── custom.styl
| │ ├── noscript.styl
| │ └── screen.styl
| │
│ ├── helpers/ * helper files
| | ├── favicon.ico
| | └── .htaccess
| │
│ ├── fonts/ * font sources
| │
│ └── data/ * configs and data for templates
│
└── build/ * built source
├── index.html
├── page.html
|
└── static/ * static assets
├── css/ * minified styles
|
├── images/ * minified images
│
├── js/ * minified assembled js
|
└── fonts/ * @font-face-ready webfonts
This project have .editorconfig file at the root that used by your code editor with editorconfig plugin. It describes codestyle like indent style, trailing whitespaces etc. See more details here
This boilerplate use Pug templates with external data configs.
Main settings can be found in dev/data/config.json file. And they're available for usage in templates with config.key-name
Here comes groups of gulp tasks with some explanations
Install bower dependencies and place them to dev folders.
Gulp: gulp start
Dev task with static server.
Gulp: gulp dev
Build task.
Gulp: gulp build
Regenerate and build project by running all tasks.
Gulp: gulp rebuild
Run server without watching for changes.
Gulp: gulp server
This project uses BrowserSync as static server with enabled and configured live reload option.
MIT