Skip to content

coderadhika/html

Repository files navigation

Checkout nkd.cc

NKD

Barebones scaffolding for a new Responsive HTML5 Jekyll project *

NKD just works. Start developing your jekyll prototype without any of the boring setup fuss.

Site structure is as follows:

./nkd                               [Site root]
  ├── README.md                     [What you're reading now]
  ├── Rakefile                      [Rake sass, rake dev]
  ├── _config.yml                   [Config for site. Site will run without config in defulat mode]
  ├── _includes                     [Common includes I need for sites / pages]
  │   ├── _footer.html              [_BLANK_]
  │   ├── _head.html                [Common header elements]
  │   ├── _js_includes.html         [_BLANK_]
  │   └── _navigation_main.html     [_BLANK_]
  ├── _layouts                      [Two layout files: default and post. both are identical by default.]
  │   ├── default.html      
  │   └── post.html
  ├── _posts                        [Directory where you'd put posts...if you want any]
  ├── _sass
  │   ├── _grid.scss                [Blank media queries. Not included or compiled to css]
  │   ├── i.scss                    [Includes normalize - compiles to i.css]
  │   └── normalize.scss            
  ├── css
  │   ├── i.css
  └── index.html                    [index file that's served up at root. The "homepage" if you will.]

Rake Tasks

rake dev

jekyll serve --watch

Use this to start the jekyll server. It will auto generate a new site at _site every time you save a file.

rake sass

sass --watch _sass:css

Run this to start the sass autocompiler. Outputs to /nkd/css/i.css.

rake minify

sass --watch _sass:css --style compressed

rake clean

rm -rf _site

Run this to delete the _site directory. Use if you don't want to keep generated site locally unless actively developing.

Notes:

  • So many buzzwords.

About

HTML blocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%