No description, website, or topics provided.
Branch: source
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build @ b01302a
dev
gulp_tasks
screenshots
.csscomb.json
.editorconfig
.gitignore
.gitmodules
LICENSE.md
README.md
bower.json
gulpfile.js
package.json
yarn.lock

README.md

Design studio one page template - ARCHIVED

Flat and responsive website template, designed by cssauthor and coded by Maxim Orlov.

Demo: http://website-templates.github.io/design-studio_one-page-template

Mockup demo Product mockup created with http://frame.lab25.co.uk/

Contents

Folder and file structure

./
├── .editorconfig
├── bower.json
├── 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
|   │
|   ├── sass/                                  * sass preprocessor styles
|   |   ├── blocks/                            * blocks library
|   │   |   └── block.sass
|   │   ├── helpers/                           * mixins and vars
|   │   ├── vendor/                            * third-party code
|   │   ├── custom.sass
|   │   ├── noscript.sass
|   │   └── screen.sass
|   │
│   ├── 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

Requirements:

Editorconfig

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

Site configuration

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

Tasks

Here comes groups of gulp tasks with some explanations

Start

Install bower dependencies and place them to dev folders. Gulp: gulp start

  • Install bower components
  • Copy bower components to dev folder
  • Remove gitkeep files

Dev

Dev task with static server. Gulp: gulp dev

  • Concatenate javascripts
  • Compile Sass stylesheets
  • Add vendor prefixes in css
  • Combine media queries in css files
  • Compile Pug templates
  • Sync helpers and other assets
  • Sync images
  • Run BrowserSync static server with live reload using
  • Watch for changes and run dev task

Build

Build task. Gulp: gulp build

  • Minify images
  • Minify javascript files
  • Minify stylesheets
  • Minify html
  • Run BrowserSync static server

Rebuild

Regenerate and build project by running all tasks. Gulp: gulp rebuild

  • Concatenate javascripts
  • Compile Sass stylesheets
  • Add vendor prefixes in css
  • Combine media queries in css files
  • Compile Pug templates
  • Sync helpers and other assets
  • Sync images
  • Minify images
  • Minify javascript files
  • Minify stylesheets
  • Minify html

Server

Run server without watching for changes. Gulp: gulp server

  • Run BrowserSync static server

Live reload

This project uses BrowserSync as static server with enabled and configured live reload option.

License

MIT