Skip to content

Commit 22d6caa

Browse files
committed
coafile: Make code coala compliant
1 parent 9222505 commit 22d6caa

File tree

5 files changed

+117
-65
lines changed

5 files changed

+117
-65
lines changed

.coafile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[default]
2+
bears = SpaceConsistencyBear
3+
files = **.(md|html|css|js)
4+
use_spaces = yes
5+
6+
[markdown]
7+
bears = MarkdownBear, SpaceConsistencyBear
8+
files = **.md
9+
use_spaces = yeah

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
_site
22
.sass-cache
33
.jekyll-metadata
4+
**.orig

README.md

+39-28
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@
33
</p>
44
---
55

6-
7-
If there's any issue you are facing in setting up this theme I'm there for you. Just create an issue in this repository (http://github.com/hemangsk/Gravity), (https://help.github.com/articles/creating-an-issue/) and I'll get back to you asap.
8-
6+
If there's any issue you are facing in setting up this theme I'm there for you. Just create an issue in this repository (<http://github.com/hemangsk/Gravity>), (<https://help.github.com/articles/creating-an-issue/>) and I'll get back to you asap.
97

108
![alt-tag](http://i.imgur.com/HyyXWQ0.png)
119
<img src="http://i.imgur.com/cPwoX3E.png"/>
1210
<img src="http://i.imgur.com/3TMoBGj.png"/>
1311
<img src="http://i.imgur.com/Z6h3uCp.png"/>
1412
<img src="http://i.imgur.com/bB7IIHr.png"/>
15-
___
13+
14+
***
1615

1716
# INSTALLATION
1817

@@ -35,11 +34,12 @@ For pagination, Gravity uses the [jekyll-paginate](https://jekyllrb.com/docs/pag
3534
```bash
3635
$ gem install jekyll-paginate
3736
```
38-
___
37+
38+
***
3939

4040
# Usage
4141

42-
Once you have the required gems, you can go ahead and clone the
42+
Once you have the required gems, you can go ahead and clone the
4343
[Gravity repository](https://github.com/hemangsk/Gravity) or [download](https://github.com/hemangsk/Gravity/archive/master.zip)
4444
a zip of the master branch.
4545

@@ -48,20 +48,23 @@ Run :
4848
```bash
4949
$ jekyll serve
5050
```
51-
Jekyll should now be generating your content!
52-
___
51+
52+
Jekyll should now be generating your content!
53+
54+
***
5355

5456
# Adding posts
5557

56-
The theme by default ships with starter posts located in `_posts/`. Delete these posts and add your content to the `_posts`
58+
The theme by default ships with starter posts located in `_posts/`. Delete these posts and add your content to the `_posts`
5759
folder to see them being served up by Jekyll. [This](https://jekyllrb.com/docs/posts/) would be a good guide to getting started on writing posts using Jekyll. We've added a concise guide below:
5860

5961
- Create a .markdown file inside `_posts` folder.
6062
- Name the file according to the format YY-MM-DD-[short name for your post].
6163
- `2016-03-30-i-love-design.markdown`
62-
- Write the _Front Matter_ and content in the file.
64+
- Write the *Front Matter* and content in the file.
6365

6466
### FORMAT
67+
6568
```
6669
---
6770
layout: post | default | page
@@ -77,16 +80,19 @@ date: 2016-03-30 19:45:31 +0530
7780
categories: ["life", friends]
7881
---
7982
```
80-
___
83+
84+
***
8185

8286
# CREATE PAGES
87+
8388
- Create a .md file in the root directory.
8489
- Name the file with the desired page link name.
85-
`about.md`
86-
`design.md`
87-
- Write the _Front Matter_ and content in the file.
90+
`about.md`
91+
`design.md`
92+
- Write the *Front Matter* and content in the file.
93+
94+
\###FORMAT
8895

89-
###FORMAT
9096
```
9197
---
9298
layout: page
@@ -102,17 +108,22 @@ permalink: /science/
102108
tagline: "Humanity is overrated."
103109
---
104110
```
105-
___
106-
####Introducing
111+
112+
***
113+
114+
\####Introducing
115+
107116
# ARCHIVE PAGES
117+
108118
#### You can display a list of all the posts corresponding to a particular category on a standalone page using the `ARCHIVE` layout.
109119

110120
- Create a .md file in the root directory.
111121
- Name the file. Preferred name will be the name of the category.
112-
*`life.md`
113-
- Write the _Front Matter_ and content in the file.
122+
\*`life.md`
123+
- Write the *Front Matter* and content in the file.
124+
125+
\###FORMAT
114126

115-
###FORMAT
116127
```
117128
---
118129
layout: archive ARCHIVE PAGE LAYOUT
@@ -131,40 +142,40 @@ category: "design"
131142
---
132143
```
133144

134-
135145
#### DIRECTORY STRUCTURE
146+
136147
```
137-
├── css # => Output of the combined SASS files
148+
├── css # => Output of the combined SASS files
138149
│   └── style.scss
139-
├── _includes # => Contains partials that can be used with your layouts
150+
├── _includes # => Contains partials that can be used with your layouts
140151
│   ├── footer.html
141152
│   ├── header.html
142153
│   ├── head.html
143154
│   ├── icon-github.html
144155
│   ├── icon-github.svg
145156
│   ├── icon-twitter.html
146157
│   └── icon-twitter.svg
147-
├── _layouts # => Layout related HTML files
158+
├── _layouts # => Layout related HTML files
148159
│   ├── archive.html
149160
│   ├── default.html
150161
│   ├── page.html
151162
│   └── post.html
152-
├── _posts # => posts, dynamic content. Follow the format: YEAR-MONTH-DAY-title.MARKUP
163+
├── _posts # => posts, dynamic content. Follow the format: YEAR-MONTH-DAY-title.MARKUP
153164
│   ├── 2016-03-30-design-stories.markdown
154165
│   ├── 2016-03-30-science0.markdown
155166
│   ├── 2016-03-30-science.markdown
156167
│   └── 2016-03-30-welcome-to-jekyll.markdown
157-
└── _sass # => SASS partials for styling
168+
└── _sass # => SASS partials for styling
158169
| ├── _base.scss
159170
| ├── _layout.scss
160171
| └── _syntax-highlighting.scss
161172
├── about.md
162-
├── _config.yml # => Configuration options or flags for your site go here
173+
├── _config.yml # => Configuration options or flags for your site go here
163174
├── design.md
164175
├── download.md
165176
├── feed.xml
166177
├── index.html
167-
├── LICENSE.txt # => Licensing information
178+
├── LICENSE.txt # => Licensing information
168179
├── README.md
169180
└── science.md
170181
```

about.md

+66-36
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,37 @@ permalink: /about/
1515
</div>
1616
<p> <div class="manual-content">
1717

18-
- Create a .markdown file inside <code class="highlighter-rouge">_posts</code> folder.<br>
19-
- Name the file according to the format YY-MM-DD-[short name for your post].<br> <code>2016-03-30-i-love-design.markdown</code><br>
20-
- Write the <a href="jekyll">Front Matter</a> and content in the file.<br>
21-
<div class="example">
22-
<span class='manual'>FORMAT</span><BR>
23-
<pre>---
18+
```
19+
- Create a .markdown file inside <code class="highlighter-rouge">_posts</code> folder.<br>
20+
- Name the file according to the format YY-MM-DD-[short name for your post].<br> <code>2016-03-30-i-love-design.markdown</code><br>
21+
- Write the <a href="jekyll">Front Matter</a> and content in the file.<br>
22+
<div class="example">
23+
<span class='manual'>FORMAT</span><BR>
24+
<pre>---
25+
```
26+
2427
layout: post | default | page
2528
title: String<span class="hint"> Post Title</span>
2629
date: Time Stamp
2730
categories: String | Array of Strings<span class="hint"> Category / Categories </span>
28-
---</pre>
29-
</div>
30-
<div class="example">
31+
\---</pre>
32+
33+
```
34+
</div>
35+
<div class="example">
36+
37+
<pre>---
38+
```
3139

32-
<pre>---
3340
layout: post
3441
title: "The One with the Blackout"
3542
date: 2016-03-30 19:45:31 +0530
3643
categories: ["life", "friends"]
37-
---</pre>
38-
</div>
44+
\---</pre>
3945

46+
```
47+
</div>
48+
```
4049

4150
</div>
4251
</p>
@@ -48,28 +57,37 @@ categories: ["life", "friends"]
4857
</div>
4958
<p> <div class="manual-content">
5059

51-
- Create a .md file in the root directory.<br>
52-
- Name the file with the desired page link name.<br> <code>about.md</code><br><code>design.md</code><br>
53-
- Write the <a href="jekyll">Front Matter</a> and content in the file.
54-
<div class="example">
55-
<span class='manual'>FORMAT</span><BR>
56-
<pre>---
60+
```
61+
- Create a .md file in the root directory.<br>
62+
- Name the file with the desired page link name.<br> <code>about.md</code><br><code>design.md</code><br>
63+
- Write the <a href="jekyll">Front Matter</a> and content in the file.
64+
<div class="example">
65+
<span class='manual'>FORMAT</span><BR>
66+
<pre>---
67+
```
68+
5769
layout: page
5870
title: String <span class="hint">Title of the webpage</span>
5971
permalink: / String / <span class="hint">Permalink for the webpage</span>
6072
tagline: String <span class="hint">Optional Gravity Feature : Tagline for the page</span>
61-
---</pre>
62-
</div>
63-
<div class="example">
73+
\---</pre>
74+
75+
```
76+
</div>
77+
<div class="example">
78+
79+
<pre>---
80+
```
6481

65-
<pre>---
6682
layout: page
6783
title: "Science"
6884
permalink: /science/
6985
tagline : "Humanity is overrated."
70-
---</pre>
71-
</div>
86+
\---</pre>
7287

88+
```
89+
</div>
90+
```
7391

7492
</div>
7593
</p>
@@ -89,29 +107,41 @@ tagline : "Humanity is overrated."
89107

90108
<p> <div class="manual-content">
91109

92-
- Create a .md file in the root directory.<br>
93-
- Name the file. Preferred name will be the name of the category<br> <code>life.md</code><br>
94-
- Write the <a href="jekyll">Front Matter</a> and content in the file.
95-
<div class="example">
96-
<span class='manual'>FORMAT</span><BR>
97-
<pre>---
110+
```
111+
- Create a .md file in the root directory.<br>
112+
- Name the file. Preferred name will be the name of the category<br> <code>life.md</code><br>
113+
- Write the <a href="jekyll">Front Matter</a> and content in the file.
114+
<div class="example">
115+
<span class='manual'>FORMAT</span><BR>
116+
<pre>---
117+
```
118+
98119
layout: archive<span class="hint"> Archive Page Layout</span>
99120
title: String <span class="hint">Title of the webpage</span>
100121
permalink: / String / <span class="hint">Permalink for the webpage</span>
101122
tagline: String <span class="hint"> Tagline for the page</span>
102123
category : String <span class="hint"> Name of the category of which the page will show posts.</span>
103-
---</pre>
104-
</div>
105-
<div class="example">
124+
\---</pre>
125+
126+
```
127+
</div>
128+
<div class="example">
129+
130+
<pre>---
131+
```
106132

107-
<pre>---
108133
layout: archive
109134
title: "Design"
110135
permalink : "Design"
111136
category: "design"
112137
tagline: "It's all about perception."
113-
---</pre>
114-
</div><br>
138+
\---</pre>
139+
140+
```
141+
</div><br>
142+
```
143+
115144
</div>
116145
</p>
117146
</div>
147+

download.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ permalink: /download/
66
tagline: "Loved it? Download Gravity"
77
---
88

9-
109
<br>
10+
1111
<div class="download">
1212
<center>Just a second! <i class="fa fa-heart"></i> Star it if you loved!</center>
1313
<br>
@@ -30,3 +30,4 @@ tagline: "Loved it? Download Gravity"
3030
<a href="http://facebook.com/hemangkr"><i class="fa fa-facebook"></i></a> &nbsp; &nbsp; &nbsp;<a href="http://github.com/hemangsk"><i class="fa fa-github"></i></a>
3131
</p>
3232
</div>
33+

0 commit comments

Comments
 (0)