@@ -2,47 +2,63 @@ Checkout [nkd.cc](http://nkd.cc)
2
2
3
3
# NKD
4
4
5
- ## Barebones scaffolding for a new Responsive HTML5 Jekyll project.
5
+ ## Barebones scaffolding for a new Responsive HTML5 Jekyll project *
6
6
7
7
NKD just works.
8
8
Start developing your jekyll prototype without any of the boring setup fuss.
9
9
10
10
Site structure is as follows:
11
11
12
12
<pre >
13
- nkd [Site root]
14
- ├── README.md [What you're reading now]
15
- ├── Rakefile [Rake sass, rake dev]
16
- ├── _config.yml [Config for site. Site will run without config in defulat mode]
17
- ├── _includes [Common includes I need for sites / pages]
18
- │ ├── _footer.html [_BLANK_]
19
- │ ├── _head.html [Common header elements]
20
- │ ├── _js_includes.html [_BLANK_]
21
- │ └── _navigation_main.html [_BLANK_]
22
- ├── _layouts [Two layout files: default and post. both are identical by default.]
23
- │ ├── default.html
24
- │ └── post.html
25
- ├── _posts [Directory where you'd put posts...if you want any]
26
- ├── _sass
27
- │ ├── _grid.scss [Blank media queries. Not included or compiled to css]
28
- │ ├── i.scss [Includes normalize - compiles to i.css]
29
- │ └── normalize.scss
30
- ├── css
31
- │ ├── i.css
32
- └── index.html [index file that's served up at root. The "homepage" if you will.]
13
+ ./ nkd [Site root]
14
+ ├── README.md [What you're reading now]
15
+ ├── Rakefile [Rake sass, rake dev]
16
+ ├── _config.yml [Config for site. Site will run without config in defulat mode]
17
+ ├── _includes [Common includes I need for sites / pages]
18
+ │ ├── _footer.html [_BLANK_]
19
+ │ ├── _head.html [Common header elements]
20
+ │ ├── _js_includes.html [_BLANK_]
21
+ │ └── _navigation_main.html [_BLANK_]
22
+ ├── _layouts [Two layout files: default and post. both are identical by default.]
23
+ │ ├── default.html
24
+ │ └── post.html
25
+ ├── _posts [Directory where you'd put posts...if you want any]
26
+ ├── _sass
27
+ │ ├── _grid.scss [Blank media queries. Not included or compiled to css]
28
+ │ ├── i.scss [Includes normalize - compiles to i.css]
29
+ │ └── normalize.scss
30
+ ├── css
31
+ │ ├── i.css
32
+ └── index.html [index file that's served up at root. The "homepage" if you will.]
33
33
</pre >
34
34
35
35
## Rake Tasks
36
36
37
37
### rake dev
38
- jekyll --auto --server
38
+ ```
39
+ jekyll serve --watch
40
+ ```
39
41
Use this to start the jekyll server. It will auto generate a new site at _ site every time you save a file.
40
42
41
-
42
43
### rake sass
44
+ ```
43
45
sass --watch _sass:css
44
- Run this to start the sass autocompiler. Compiles to /nkd/css/i.css on save.
46
+ ```
47
+
48
+ Run this to start the sass autocompiler. Outputs to /nkd/css/i.css.
49
+
50
+ ### rake minify
51
+ ```
52
+ sass --watch _sass:css --style compressed
53
+ ```
45
54
46
55
### rake clean
56
+ ```
47
57
rm -rf _site
58
+ ```
59
+
48
60
Run this to delete the _ site directory. Use if you don't want to keep generated site locally unless actively developing.
61
+
62
+
63
+ Notes:
64
+ * So many buzzwords.
0 commit comments