Skip to content

Commit 60f249a

Browse files
committed
Refined the output of _includes/_pagination.html
1 parent e0b6111 commit 60f249a

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
22

3-
gem 'jekyll'
3+
gem 'jekyll', '3.0.2'
44
gem 'jekyll-gist'
55
gem 'jekyll-paginate'

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GEM
66
faraday (0.9.2)
77
multipart-post (>= 1.2, < 3)
88
ffi (1.9.10)
9-
jekyll (3.1.0)
9+
jekyll (3.0.2)
1010
colorator (~> 0.1)
1111
jekyll-sass-converter (~> 1.0)
1212
jekyll-watch (~> 1.1)
@@ -18,21 +18,21 @@ GEM
1818
jekyll-gist (1.4.0)
1919
octokit (~> 4.2)
2020
jekyll-paginate (1.1.0)
21-
jekyll-sass-converter (1.3.0)
22-
sass (~> 3.2)
23-
jekyll-watch (1.3.0)
21+
jekyll-sass-converter (1.4.0)
22+
sass (~> 3.4)
23+
jekyll-watch (1.3.1)
2424
listen (~> 3.0)
2525
kramdown (1.9.0)
2626
liquid (3.0.6)
27-
listen (3.0.3)
27+
listen (3.0.5)
2828
rb-fsevent (>= 0.9.3)
2929
rb-inotify (>= 0.9)
3030
mercenary (0.3.5)
3131
multipart-post (2.0.0)
3232
octokit (4.2.0)
3333
sawyer (~> 0.6.0, >= 0.5.3)
34-
rb-fsevent (0.9.6)
35-
rb-inotify (0.9.5)
34+
rb-fsevent (0.9.7)
35+
rb-inotify (0.9.7)
3636
ffi (>= 0.5.0)
3737
rouge (1.10.1)
3838
safe_yaml (1.0.4)
@@ -45,7 +45,7 @@ PLATFORMS
4545
ruby
4646

4747
DEPENDENCIES
48-
jekyll
48+
jekyll (= 3.0.2)
4949
jekyll-gist
5050
jekyll-paginate
5151

_includes/_pagination.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% for post in paginator.posts %}
1111
<div class="row">
1212
<div class="small-12 columns b60">
13-
<p class="subheadline"><span class="subheader">{% if post.categories %}{{ post.categories | join: ' &middot; ' }}{% endif %}</span>{% if post.subheadline %} – {{ post.subheadline }}{% endif %}</p>
13+
<p class="subheadline">{{ post.categories | join: ' &middot; ' | prepend: '<span class="subheader">' | append: '</span>' }}{% if post.categories != empty and post.subheadline != NULL %} – {% endif %}{{ post.subheadline }}</p>
1414
<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
1515
<p>
1616
{% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.urlimg }}{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %}

_posts/design/2015-08-16-typography.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ image:
1616
caption_url: "http://www.aisleone.net/"
1717
categories:
1818
- design
19+
- typography
1920
---
2021
<!--more-->
2122

0 commit comments

Comments
 (0)