|
1 | | -# Naringu |
2 | | - |
3 | | - |
4 | | -Naringu is dark jekyll theme that provide fully furnished jekyll setup, come with contact form, #6DD HTML color schema, and more features. It's based on [Poole](http://getpoole.com), the Jekyll butler. |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | -## Contents |
12 | | - |
13 | | -- [Usage](#usage) |
14 | | - - [Sidebar menu](#sidebar-menu) |
15 | | - - [Themes](#themes) |
16 | | - - [Reverse layout](#reverse-layout) |
17 | | - - [Contact Form](#contact-form) |
18 | | - - [Comments](#comments) |
19 | | -- [Development](#development) |
20 | | - - [Author](#author) |
21 | | - - [Contributors](#contributors) |
22 | | -- [License](#license) |
23 | | - |
24 | | - |
25 | | -## Usage |
26 | | - |
27 | | -Just download and start the Jekyll server or fork this repo. |
28 | | - |
29 | | -### Sidebar menu |
30 | | - |
31 | | -Create a list of nav links in the sidebar by assigning each Jekyll page the correct layout in the page's [front-matter](http://jekyllrb.com/docs/frontmatter/). |
32 | | - |
33 | | -``` |
34 | | ---- |
35 | | -layout: page |
36 | | -title: About |
37 | | ---- |
38 | | -``` |
39 | | - |
40 | | -**Why require a specific layout?** Jekyll will return *all* pages, including the `atom.xml`, and with an alphabetical sort order. To ensure the first link is *Home*, we exclude the `index.html` page from this list by specifying the `page` |
41 | | - |
42 | | - |
43 | | -### Reverse layout |
44 | | - |
45 | | -Reverse the page orientation with a single class. |
46 | | - |
47 | | -```html |
48 | | -<body class="layout-reverse"> |
49 | | - ... |
50 | | -</body> |
51 | | -``` |
52 | | -### Contact Form |
53 | | - |
54 | | -Using formspree to enable contact form in static site. |
55 | | - |
56 | | -Go a head `contact/index.html` just change the email in the code |
57 | | - |
58 | | -```html |
59 | | -<form action="http://formspree.io/youremail@yourdomain.com" role="form" method="POST"> |
60 | | -``` |
61 | | - |
62 | | -### Comments |
63 | | - |
64 | | -Using [disqus](http://disqus.com/) to enable comments in static site. |
65 | | - |
66 | | -Just edit variable `disqus` in `_config.yml` to your disqus link. |
67 | | - |
68 | | -## Development |
69 | | - |
70 | | -Naringu come with two branches :. |
71 | | - |
72 | | -- `master` for active development. |
73 | | -- `gh-pages` for preview of Naringu |
74 | | - |
75 | | -### Author |
76 | | - |
77 | | -**Rizky Ariestiyansyah** |
78 | | -- <https://github.com/ariestiyansyah> |
79 | | -- <https://twitter.com/ariestiyansyah> |
80 | | - |
81 | | -### Contributors |
82 | | - |
83 | | -**Gildásio Júnior** - *a.k.a. @gjuniioor* |
84 | | -- https://github.com/gjuniioor |
85 | | - |
86 | | -## License |
87 | | - |
88 | | -Open sourced under the [MIT license](LICENSE.md). |
| 1 | +Stardust's博客 |
0 commit comments