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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1096cd4f0302b82ebdd3b47d97a835329c8797c
4
- data.tar.gz: b47f2ee328a4cbc6a4902fd3c99b76a6f99282b3
3
+ metadata.gz: af2e2c4d22decda3e2845259954490793436f51a
4
+ data.tar.gz: 6e11c3c4262d579d01caa3a3132c5d68590b2b99
5
5
  SHA512:
6
- metadata.gz: f40af95888d6c5c6500cafb413af0b7c041eba08e88edb27b18a37ef6fdce0bf6252b908b1f786edcdfdee44aac62aa91d8c93fcdd30b8e4c710ca1639186627
7
- data.tar.gz: '04185a0888a48b3e967c4a0e2df22d83081c55b1807fd8f049ac2d4c3f4eb772eb9722fa41ca7c30c36261d2e551461dad82e7b68b79493c3a779101d0968f95'
6
+ metadata.gz: 01ad82cca3d3c1687c23f9488d48b53bc3a4f013ce2ba563d04a5dd01d116db469b4a0e0b87a1b7a7a4fe74793039a0fc4373e7fc76c7774d79bccb32a420696
7
+ data.tar.gz: d733b5d278af688aeacdaedfbc2e71cf3dca6e19129b9e6418417b96f6d905e23597bc7e730b33b873193b99b3bb88d019f7c4d7716fca88751e49533ea288c7
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/really-simple.svg)](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
 
@@ -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">&raquo; <a href="{{ "archives" | relative_url }}">archives</a> &nbsp;&raquo; <a href="{{ "about" | relative_url }}">about</a></span>
13
+ <span class="nav">
14
+ {% if site.posts.size > 3 %}
15
+ &raquo; <a href="{{ "archives" | relative_url }}">archives</a>
16
+ {% endif %}
17
+ &nbsp;&raquo; <a href="{{ "about" | relative_url }}">about</a>
18
+ </span>
14
19
  </div>
15
20
 
16
21
  {{ content }}
data/_layouts/home.html CHANGED
@@ -21,5 +21,7 @@ layout: default
21
21
  {% endfor %}
22
22
  </ul>
23
23
 
24
+ {% if site.posts.size > 3 %}
24
25
  <a class="post-link" href="{{ "pages/archives" | relative_url }}">More...</a>
26
+ {% endif %}
25
27
  </div>
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.1.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-20 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll