jekyll-exiftag 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jekyll-exiftag.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bcff1a187b6dac443bd44a7f5803acb4665d62b7
|
|
4
|
+
data.tar.gz: bc185123d05469aafe9ac812a77f7b50b9c8da23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a12558ab6d4088be5db9cfbdec5b1b09607d0f437d358b1f7bfde7a8ae8ef84375af23edb73429706cbce640c0a570edd62a5973046b6fca93f7d06c9790b4b
|
|
7
|
+
data.tar.gz: 171f90f4cc80f65af0753a00bb55b693268cbf594be8df7d3997ea14c490edb34e6b271fad4d3be5bd7b0df9f71ead517b737170d231a22f8978926e79046500
|
data/lib/jekyll-exiftag.rb
CHANGED
|
@@ -44,12 +44,13 @@ module Jekyll
|
|
|
44
44
|
|
|
45
45
|
# if a second parameter is passed, use it as a possible img source
|
|
46
46
|
if @args.count > 1
|
|
47
|
-
|
|
47
|
+
src = Liquid::Template.parse(@args[1]).render context
|
|
48
|
+
sources.unshift(src)
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
# the image can be passed as the third parameter
|
|
51
52
|
if @args.count > 2
|
|
52
|
-
img = @args[2]
|
|
53
|
+
img = Liquid::Template.parse(@args[2]).render context
|
|
53
54
|
# or be defined in the YAML Front Matter like img: <file>
|
|
54
55
|
else
|
|
55
56
|
img = context.environments.first["page"]["img"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-exiftag
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Beni Buess
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: exifr
|
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
version: '0'
|
|
52
52
|
requirements: []
|
|
53
53
|
rubyforge_project:
|
|
54
|
-
rubygems_version: 2.0.14
|
|
54
|
+
rubygems_version: 2.0.14.1
|
|
55
55
|
signing_key:
|
|
56
56
|
specification_version: 4
|
|
57
57
|
summary: jekyll-exiftag provides exif data in jekyll sites
|