wead 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82889c0fe0b64cd0d243133629b158941c9ed910
4
- data.tar.gz: 832c21d50b98156369e675d744b30840f018e7ee
3
+ metadata.gz: cdf7b9ccdfb1949fa4ea64467612aa62076a38e9
4
+ data.tar.gz: 9d354a276a51babec40239ff43348fa3eed639fc
5
5
  SHA512:
6
- metadata.gz: 1f79a08bd337b5315c7590481ee4d9b259a28bcf54a4300f6507a72b0259367fa8bcafdd322ecb004038541bd66617bd5f562eb3191686a9a149d7369c829ba4
7
- data.tar.gz: dc6a2dd8d91c7d1860783197a9749800eb645ccc07f04e8e3610ac5c55fbd89c75aef356080f9abf93dc94d3ece8f45f63b70b4a02d342cb6ab72a20483e4e71
6
+ metadata.gz: 484aa5893f0c391bc5e481c427f93a3e295ddb507ab87f9ad973eb8e8e3fbb1735d5ddca622d5f99555c5678d746062264dbb3cc80ac4fae0601e61b6f56add4
7
+ data.tar.gz: 3c899e8a5fc971f341880fea2a4dc50dd157e3949eb3e128603bbef0c6d86c06808c03f6765a17fc76cbdc19e8950c0d6934d7c1d1a03327f5be58dcc68e511b
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Wead.
2
+ [![Gem Version](https://badge.fury.io/rb/wead.svg)](https://badge.fury.io/rb/wead)
3
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/519daacbe38c4aa785f633bfe3d9bf5f)](https://www.codacy.com/app/Kevyder/wead?utm_source=github.com&utm_medium=referral&utm_content=kevyder/wead&utm_campaign=badger)
4
+
2
5
 
3
6
  A simple and clean jekyll theme. https://goo.gl/TkRqBY
4
7
 
@@ -1,6 +1,6 @@
1
1
  <div class="posts">
2
2
  <div class="container">
3
- {% for post in site.posts %}
3
+ {% for post in paginator.posts %}
4
4
  <div class="row">
5
5
  <div class="post-container">
6
6
  <p class="post-date"> {{ post.date | date: "%b %-d, %Y" }} </p>
@@ -10,4 +10,22 @@
10
10
  </div>
11
11
  {% endfor %}
12
12
  </div>
13
- </div>
13
+ </div>
14
+
15
+ <!-- Pagination links -->
16
+ <div class="pagination">
17
+ <div class="container">
18
+ <div class="row">
19
+ {% if paginator.previous_page %}
20
+ <div class="prev">
21
+ <a href="{{ paginator.previous_page_path }}" class="previous-button">Previous</a>
22
+ </div>
23
+ {% endif %}
24
+ {% if paginator.next_page %}
25
+ <div class="next">
26
+ <a href="{{ paginator.next_page_path }}" class="next-button">Next</a>
27
+ </div>
28
+ {% endif %}
29
+ </div>
30
+ </div>
31
+ </div>
@@ -4,7 +4,7 @@
4
4
  <body>
5
5
  {% include header.html %}
6
6
  {% include posts.html %}
7
- {% include footer.html %}
7
+ {% include footer.html %}
8
8
  </body>
9
9
  <script src="{{ "/assets/javascripts/main.js" | prepend: site.baseurl }}"></script>
10
10
  </html>
@@ -1,5 +1,5 @@
1
1
  .posts
2
- min-height: 500px
2
+ min-height: 600px
3
3
  background-color: #eeeeee
4
4
  .post-container
5
5
  width: 50%
@@ -19,3 +19,37 @@
19
19
  a.extract
20
20
  color: #222
21
21
  text-decoration: none
22
+
23
+ div.pagination
24
+ height: 50px
25
+ background-color: #eeeeee
26
+ .prev
27
+ float: left
28
+ font-size: 1.2rem
29
+ font-weight: 700
30
+ margin: 20px 15px
31
+ a.previous-button
32
+ color: #000
33
+ border: 2px solid rgb(255, 5, 35)
34
+ border-radius: 25px
35
+ padding: 10px 20px
36
+ text-transform: uppercase
37
+ text-decoration: none
38
+ a.previous-button:hover
39
+ color: #fff
40
+ background-color: rgb(255, 5, 35)
41
+ .next
42
+ float: right
43
+ font-size: 1.2rem
44
+ font-weight: 700
45
+ margin: 20px 15px
46
+ a.next-button
47
+ color: #000
48
+ border: 2px solid rgb(255, 5, 35)
49
+ border-radius: 25px
50
+ padding: 10px 20px
51
+ text-transform: uppercase
52
+ text-decoration: none
53
+ a.next-button:hover
54
+ color: #fff
55
+ background-color: rgb(255, 5, 35)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rodríguez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.2.2
105
+ rubygems_version: 2.5.1
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: A simple and clean jekyll theme.