jekyll-tabler 0.1.1 → 0.1.2
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/README.md +4 -4
- data/assets/filled.yml +1053 -1053
- data/assets/outline.yml +5093 -5093
- data/lib/jekyll-tabler.rb +4 -4
- data/lib/version.rb +1 -1
- metadata +2 -2
data/lib/jekyll-tabler.rb
CHANGED
|
@@ -49,7 +49,7 @@ module Jekyll
|
|
|
49
49
|
icons = tabler_icons("outline")
|
|
50
50
|
ds = Array(icons[icon_name])
|
|
51
51
|
paths = ds.map { |d| %(<path d="#{d}" />) }.join("\n")
|
|
52
|
-
<<~
|
|
52
|
+
<<~SVG
|
|
53
53
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
54
54
|
viewBox="0 0 24 24"
|
|
55
55
|
fill="none"
|
|
@@ -64,7 +64,7 @@ module Jekyll
|
|
|
64
64
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
65
65
|
#{paths}
|
|
66
66
|
</svg>
|
|
67
|
-
|
|
67
|
+
SVG
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
# Builds the filled SVG after render-time values have been resolved.
|
|
@@ -72,7 +72,7 @@ module Jekyll
|
|
|
72
72
|
icons = tabler_icons("filled")
|
|
73
73
|
ds = Array(icons[icon_name])
|
|
74
74
|
paths = ds.map { |d| %(<path d="#{d}" />) }.join("\n")
|
|
75
|
-
<<~
|
|
75
|
+
<<~SVG
|
|
76
76
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
77
77
|
viewBox="0 0 24 24"
|
|
78
78
|
width="#{size}"
|
|
@@ -83,7 +83,7 @@ module Jekyll
|
|
|
83
83
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
84
84
|
#{paths}
|
|
85
85
|
</svg>
|
|
86
|
-
|
|
86
|
+
SVG
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Resolves a tag argument against the Liquid context when it looks like a
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-tabler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- phothinmg
|
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
85
|
version: '0'
|
|
86
86
|
requirements: []
|
|
87
|
-
rubygems_version: 4.0.
|
|
87
|
+
rubygems_version: 4.0.15
|
|
88
88
|
specification_version: 4
|
|
89
89
|
summary: Tabler Icons plugin for Jekyll site as liquid tag
|
|
90
90
|
test_files: []
|