really-simple 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -1
- data/_layouts/default.html +6 -1
- data/_layouts/home.html +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af2e2c4d22decda3e2845259954490793436f51a
|
4
|
+
data.tar.gz: 6e11c3c4262d579d01caa3a3132c5d68590b2b99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01ad82cca3d3c1687c23f9488d48b53bc3a4f013ce2ba563d04a5dd01d116db469b4a0e0b87a1b7a7a4fe74793039a0fc4373e7fc76c7774d79bccb32a420696
|
7
|
+
data.tar.gz: d733b5d278af688aeacdaedfbc2e71cf3dca6e19129b9e6418417b96f6d905e23597bc7e730b33b873193b99b3bb88d019f7c4d7716fca88751e49533ea288c7
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[](https://badge.fury.io/rb/really-simple)
|
2
|
+
|
1
3
|
# Really Simple.
|
2
4
|
|
3
5
|
Really Simple is a really simple [Jekyll](https://jekyllrb.com) theme. It is barebones and is meant to get a site with blogging up very quickly. The Really Simple design is basic yet esthetically pleasing. In other words it's good enough for an MVP.
|
@@ -21,10 +23,11 @@ In your `Gemfile` add the line:
|
|
21
23
|
gem 'really-simple'
|
22
24
|
```
|
23
25
|
|
24
|
-
In your `_config.yml` file specify the theme:
|
26
|
+
In your `_config.yml` file specify the theme and title:
|
25
27
|
|
26
28
|
```yml
|
27
29
|
theme: really-simple
|
30
|
+
title: Your Title
|
28
31
|
```
|
29
32
|
|
30
33
|
And then execute:
|
@@ -43,6 +46,14 @@ Any content in this file will be included in the page.
|
|
43
46
|
|
44
47
|
Alternately you can simply fork this repo and go from there.
|
45
48
|
|
49
|
+
## Details
|
50
|
+
|
51
|
+
- Really Simple will display up to three posts fully on the home page.
|
52
|
+
|
53
|
+
- Link to archives in the header and at the end of the home page will only display when there are more than 3 posts.
|
54
|
+
|
55
|
+
- The header has two links: `Archives` and `About`. Really Simple expects these files to be in the root project folder. The `jekyll new` command will create a dummy `about.md` file in the root folder. Remove the layout metadata so that the Really Simple default template is used.
|
56
|
+
|
46
57
|
## Contributions
|
47
58
|
Bug reports and pull requests are most welcome.
|
48
59
|
|
data/_layouts/default.html
CHANGED
@@ -10,7 +10,12 @@
|
|
10
10
|
<div class="content">
|
11
11
|
<div class="header">
|
12
12
|
<a class="title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
13
|
-
<span class="nav"
|
13
|
+
<span class="nav">
|
14
|
+
{% if site.posts.size > 3 %}
|
15
|
+
» <a href="{{ "archives" | relative_url }}">archives</a>
|
16
|
+
{% endif %}
|
17
|
+
» <a href="{{ "about" | relative_url }}">about</a>
|
18
|
+
</span>
|
14
19
|
</div>
|
15
20
|
|
16
21
|
{{ content }}
|
data/_layouts/home.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: really-simple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jusx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|