Skip to content

Commit

Permalink
Added Jekyll 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
chalatz committed Jan 12, 2017
1 parent c0ea917 commit dc47f4a
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Gemfile
@@ -0,0 +1,5 @@
source 'https://rubygems.org'
gem 'jekyll-watch'
gem 'jekyll-paginate'
gem 'kramdown'
gem 'wdm'
33 changes: 33 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,33 @@
GEM
remote: https://rubygems.org/
specs:
celluloid (0.16.0)
timers (~> 4.0.0)
ffi (1.9.10-x64-mingw32)
hitimes (1.2.2)
jekyll-paginate (1.1.0)
jekyll-watch (1.2.1)
listen (~> 2.7)
kramdown (1.8.0)
listen (2.10.1)
celluloid (~> 0.16.0)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-fsevent (0.9.6)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
timers (4.0.4)
hitimes
wdm (0.1.1)

PLATFORMS
x64-mingw32

DEPENDENCIES
jekyll-paginate
jekyll-watch
kramdown
wdm

BUNDLED WITH
1.13.7
8 changes: 7 additions & 1 deletion _config.yml
Expand Up @@ -12,9 +12,15 @@ github_username: jekyll

# Build settings
markdown: kramdown
kramdown:
input: GFM

exclude: ['node_modules', 'Gruntfile.js', 'package.json']

highlighter: pygments
highlighter: rouge

gems:
- jekyll-paginate

# YB Settings
excerpt_separator: <!-- more -->
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Expand Up @@ -78,10 +78,10 @@ <h1 data-sr="enter right" class="post-title">{{ page.title }}</h1>
</div>

<div class="posts-nav">
{% if(page.previous) %}
{% if page.previous %}
<a href="{{page.previous.url}}" title="{{page.previous.title}}" class="go-to right-post">&rarr;</i></a>
{% endif %}
{% if(page.next) %}
{% if page.next %}
<a href="{{page.next.url}}" title="{{page.next.title}}" class="go-to left-post">&larr;</a>
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion category/sample-post/index.html
Expand Up @@ -3,7 +3,7 @@
cat_name: 'Sample Post'
---

{% for post in site.categories.['sample post'] %}
{% for post in site.categories['Sample Post'] %}

{% include teaser.html %}

Expand Down
2 changes: 1 addition & 1 deletion tag/site-features/index.html
Expand Up @@ -3,7 +3,7 @@
tag_name: 'Site Features'
---

{% for post in site.tags.['Site Features'] %}
{% for post in site.tags['Site Features'] %}

{% include teaser.html %}

Expand Down

0 comments on commit dc47f4a

Please sign in to comment.