jekyll-antex 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/antex/block.rb +1 -1
- data/lib/jekyll/antex/generator.rb +2 -1
- data/lib/jekyll/antex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 553f4c0d44882189f00df7ae6fb95e0827704911
|
4
|
+
data.tar.gz: 8d0cffbad462c99b0a4ad4f7584fab40447d3c8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f518f1a6cfc6fefc5116c78bd648bd7ae2c225f758a7907723f94814e23a616464e220c68610eed5fbe985641b1c25b6dcf854bd5c1f3548df3581e3026f14
|
7
|
+
data.tar.gz: 14522ee88531da366891a6a3386f6eb0435f5415ed5ecbe5ada60496b4cb4c8a9a234ac8371553b044340b46158eb54c9edfd4e5f00e8ccba58074088900a446
|
data/lib/jekyll/antex/block.rb
CHANGED
@@ -27,7 +27,7 @@ module Jekyll
|
|
27
27
|
|
28
28
|
def render_html(job)
|
29
29
|
_, dir, name = static_file_paths job
|
30
|
-
img_tag = render_img_tag src: File.join(dir, name),
|
30
|
+
img_tag = render_img_tag src: File.join('', dir, name),
|
31
31
|
set_box: job.set_box
|
32
32
|
classes = job.options['classes'].join(' ')
|
33
33
|
"<span class='#{classes}'>#{img_tag}</span>"
|
@@ -14,7 +14,8 @@ module Jekyll
|
|
14
14
|
dealias_resource_content! site: site, resource: page
|
15
15
|
end
|
16
16
|
|
17
|
-
site.posts.each
|
17
|
+
# NOTE: jekyll deprecated direct access to site.posts.each
|
18
|
+
site.posts.docs.each do |post|
|
18
19
|
dealias_resource_content! site: site, resource: post
|
19
20
|
end
|
20
21
|
end
|
data/lib/jekyll/antex/version.rb
CHANGED