Skip to content

Commit eca0030

Browse files
authored
Merge pull request #359 from Maikon/update-jekyll-version-and-add-livereload
Update Jekyll version and add Livereload plugin
2 parents e6a38d8 + 4bb4979 commit eca0030

File tree

4 files changed

+53
-52
lines changed

4 files changed

+53
-52
lines changed

Gemfile

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

3-
gem 'jekyll', '= 2.4.0' # https://pages.github.com/versions/
3+
gem 'jekyll', '3.5.2' # https://pages.github.com/versions/
4+
5+
group :jekyll_plugins do
6+
gem 'jekyll-livereload'
7+
end

Gemfile.lock

Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,60 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
blankslate (2.1.2.4)
5-
classifier-reborn (2.0.4)
6-
fast-stemmer (~> 1.0)
7-
coffee-script (2.4.1)
8-
coffee-script-source
9-
execjs
10-
coffee-script-source (1.10.0)
11-
colorator (0.1)
12-
execjs (2.6.0)
13-
fast-stemmer (1.0.2)
14-
ffi (1.9.10)
15-
jekyll (2.4.0)
16-
classifier-reborn (~> 2.0)
17-
colorator (~> 0.1)
18-
jekyll-coffeescript (~> 1.0)
19-
jekyll-gist (~> 1.0)
20-
jekyll-paginate (~> 1.0)
4+
addressable (2.5.1)
5+
public_suffix (~> 2.0, >= 2.0.2)
6+
colorator (1.1.0)
7+
em-websocket (0.5.1)
8+
eventmachine (>= 0.12.9)
9+
http_parser.rb (~> 0.6.0)
10+
eventmachine (1.2.5)
11+
ffi (1.9.18)
12+
forwardable-extended (2.6.0)
13+
http_parser.rb (0.6.0)
14+
jekyll (3.5.2)
15+
addressable (~> 2.4)
16+
colorator (~> 1.0)
2117
jekyll-sass-converter (~> 1.0)
2218
jekyll-watch (~> 1.1)
2319
kramdown (~> 1.3)
24-
liquid (~> 2.6.1)
20+
liquid (~> 4.0)
2521
mercenary (~> 0.3.3)
26-
pygments.rb (~> 0.6.0)
27-
redcarpet (~> 3.1)
22+
pathutil (~> 0.9)
23+
rouge (~> 1.7)
2824
safe_yaml (~> 1.0)
29-
toml (~> 0.1.0)
30-
jekyll-coffeescript (1.0.1)
31-
coffee-script (~> 2.2)
32-
jekyll-gist (1.3.5)
33-
jekyll-paginate (1.1.0)
34-
jekyll-sass-converter (1.3.0)
35-
sass (~> 3.2)
36-
jekyll-watch (1.3.0)
37-
listen (~> 3.0)
38-
kramdown (1.9.0)
39-
liquid (2.6.3)
40-
listen (3.0.5)
41-
rb-fsevent (>= 0.9.3)
42-
rb-inotify (>= 0.9)
43-
mercenary (0.3.5)
44-
parslet (1.5.0)
45-
blankslate (~> 2.0)
46-
posix-spawn (0.3.11)
47-
pygments.rb (0.6.3)
48-
posix-spawn (~> 0.3.6)
49-
yajl-ruby (~> 1.2.0)
50-
rb-fsevent (0.9.6)
51-
rb-inotify (0.9.5)
52-
ffi (>= 0.5.0)
53-
redcarpet (3.3.3)
25+
jekyll-livereload (0.2.2)
26+
em-websocket (~> 0.5)
27+
jekyll (~> 3.0)
28+
jekyll-sass-converter (1.5.0)
29+
sass (~> 3.4)
30+
jekyll-watch (1.5.0)
31+
listen (~> 3.0, < 3.1)
32+
kramdown (1.14.0)
33+
liquid (4.0.0)
34+
listen (3.0.8)
35+
rb-fsevent (~> 0.9, >= 0.9.4)
36+
rb-inotify (~> 0.9, >= 0.9.7)
37+
mercenary (0.3.6)
38+
pathutil (0.14.0)
39+
forwardable-extended (~> 2.6)
40+
public_suffix (2.0.5)
41+
rb-fsevent (0.10.2)
42+
rb-inotify (0.9.10)
43+
ffi (>= 0.5.0, < 2)
44+
rouge (1.11.1)
5445
safe_yaml (1.0.4)
55-
sass (3.4.19)
56-
toml (0.1.2)
57-
parslet (~> 1.5.0)
58-
yajl-ruby (1.2.1)
46+
sass (3.5.1)
47+
sass-listen (~> 4.0.0)
48+
sass-listen (4.0.0)
49+
rb-fsevent (~> 0.9, >= 0.9.4)
50+
rb-inotify (~> 0.9, >= 0.9.7)
5951

6052
PLATFORMS
6153
ruby
6254

6355
DEPENDENCIES
64-
jekyll (= 2.4.0)
56+
jekyll (= 3.5.2)
57+
jekyll-livereload
58+
59+
BUNDLED WITH
60+
1.10.6

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ exclude: [
1212
"javascripts-dev",
1313
"node_modules"
1414
]
15+
livereload: true

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1 class="entry-title">{{ page.title }}</h1>
2121

2222

2323
{% if page.files %}
24-
{% assign pageurl = page.url | split: '/' | pop: | join: '/' %}
24+
{% assign pageurl = page.url | split: '/' | pop | join: '/' %}
2525
{% capture files %}[{% for file in page.files %}
2626
"{{ pageurl }}/{{ file }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}
2727
]{% endcapture %}

0 commit comments

Comments
 (0)