jekyll-academicons-svg 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/.tool-versions +1 -0
- data/Gemfile.lock +2 -2
- data/README.md +3 -3
- data/lib/jekyll/academicons/svg/academicons-item.rb +1 -1
- data/lib/jekyll/academicons/svg/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e34b1bbb4bd423b49a99b9448ceb1fa603e034a943f64d1f0fd706bdeeb2e38a
|
4
|
+
data.tar.gz: e9dfb8cc714a258d9ce55ec5e5d3ea83b0fa9429eac11ece00b7efbf41f92998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5efaa61b27ac92842f31f08100b1d07eea482f8a23f5620866bc24404c96dbbf2b82709b6a51378b453c84dc518f317303dae6ec3c0b25bb0f8eb734552659a9
|
7
|
+
data.tar.gz: 454018bda9f67ca9cd9958c1b69341d9f6a13c14e58bd551643634414d86dc456a4b181a6f03b617e86a76b652757dc00ca5d4ceca6b64025efcf9f828c5131a
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.7.5
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jekyll-academicons-svg (0.1.
|
4
|
+
jekyll-academicons-svg (0.1.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.4.4)
|
10
10
|
liquid (4.0.3)
|
11
|
-
rake (13.0.
|
11
|
+
rake (13.0.6)
|
12
12
|
rspec (3.10.0)
|
13
13
|
rspec-core (~> 3.10.0)
|
14
14
|
rspec-expectations (~> 3.10.0)
|
data/README.md
CHANGED
@@ -13,17 +13,17 @@ This Jekyll plugin will look for the icons you include in your page and only inc
|
|
13
13
|
|
14
14
|
- When you want to include an icon, you can use the same name as you will do to with Academicons
|
15
15
|
|
16
|
-
`{%
|
16
|
+
`{% a_svg google-scholar %}`
|
17
17
|
|
18
18
|
or
|
19
19
|
|
20
|
-
`{%
|
20
|
+
`{% a_svg 'google-scholar' %}`
|
21
21
|
|
22
22
|
Each icon get the `academic-icon` class, which you can use in your CSS to customize the appearance of your icon.
|
23
23
|
|
24
24
|
- You will need to have in **one** part of your project (at the end of your layout for example) liquid tag to generate the SVG definition.
|
25
25
|
|
26
|
-
The syntax is this one `{%
|
26
|
+
The syntax is this one `{% a_svg_generate %}`
|
27
27
|
|
28
28
|
## Installation
|
29
29
|
|
@@ -11,7 +11,7 @@ module Jekyll
|
|
11
11
|
|
12
12
|
def render(context)
|
13
13
|
faIcon = context[@markup] ||= @tmp_markup
|
14
|
-
@icon =
|
14
|
+
@icon = AcademiconsIcon.new(faIcon.strip)
|
15
15
|
unless context.environments.first['page']['academicons_svg'].is_a?([]::class)
|
16
16
|
context.environments.first['page']['academicons_svg'] = []
|
17
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-academicons-svg
|
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
|
- Sylvain METAYER
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- ".github/workflows/ruby.yml"
|
65
65
|
- ".gitignore"
|
66
66
|
- ".rspec"
|
67
|
+
- ".tool-versions"
|
67
68
|
- ".travis.yml"
|
68
69
|
- CODE_OF_CONDUCT.md
|
69
70
|
- Dockerfile
|
@@ -107,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
108
|
- !ruby/object:Gem::Version
|
108
109
|
version: '0'
|
109
110
|
requirements: []
|
110
|
-
rubygems_version: 3.
|
111
|
+
rubygems_version: 3.1.6
|
111
112
|
signing_key:
|
112
113
|
specification_version: 4
|
113
114
|
summary: Jekyll plugin to generate Academicons icons and include them dynamically
|