Checkout nkd.cc
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.]
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.
sass --watch _sass:css
Run this to start the sass autocompiler. Outputs to /nkd/css/i.css.
sass --watch _sass:css --style compressed
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.