mpiwg-jekyll-tags 0.0.2 → 0.0.3
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 +5 -5
- data/.gitignore +3 -1
- data/Gemfile +2 -1
- data/Gemfile.lock +68 -0
- data/_config.yml +4 -0
- data/index.md +24 -0
- data/lib/mpiwg-jekyll-tags/tag.rb +25 -1
- data/lib/mpiwg-jekyll-tags/version.rb +1 -1
- data/mpiwg-jekyll-tags.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 987b2195fe580641dbc786a749b52bc01312463175a50633a88adf6676e1ffd3
|
|
4
|
+
data.tar.gz: e2bd446aa79cfbf97bafb525b0e63c24820eb7931ae924fb0d252ff6e7b1770b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 443b832939c605a41b62423510b4a1d89c5c16a7cecf3d2e57aa8be2be5b503c627e3d47f38977f149200f7c77598a69e56bd8eadef9b75085de2d54163fb91d
|
|
7
|
+
data.tar.gz: f2c44cd29f7e125beb6121ee48f323f83d5c78a5f4f3c9785662737437fe6b4b5d0896cabdeee88521693add9cbc7065c15888530f8a237c485e2cae595e9b07
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: https://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
addressable (2.7.0)
|
|
5
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
6
|
+
colorator (1.1.0)
|
|
7
|
+
concurrent-ruby (1.1.5)
|
|
8
|
+
em-websocket (0.5.1)
|
|
9
|
+
eventmachine (>= 0.12.9)
|
|
10
|
+
http_parser.rb (~> 0.6.0)
|
|
11
|
+
eventmachine (1.2.7)
|
|
12
|
+
ffi (1.11.2)
|
|
13
|
+
forwardable-extended (2.6.0)
|
|
14
|
+
http_parser.rb (0.6.0)
|
|
15
|
+
i18n (1.7.0)
|
|
16
|
+
concurrent-ruby (~> 1.0)
|
|
17
|
+
jekyll (4.0.0)
|
|
18
|
+
addressable (~> 2.4)
|
|
19
|
+
colorator (~> 1.0)
|
|
20
|
+
em-websocket (~> 0.5)
|
|
21
|
+
i18n (>= 0.9.5, < 2)
|
|
22
|
+
jekyll-sass-converter (~> 2.0)
|
|
23
|
+
jekyll-watch (~> 2.0)
|
|
24
|
+
kramdown (~> 2.1)
|
|
25
|
+
kramdown-parser-gfm (~> 1.0)
|
|
26
|
+
liquid (~> 4.0)
|
|
27
|
+
mercenary (~> 0.3.3)
|
|
28
|
+
pathutil (~> 0.9)
|
|
29
|
+
rouge (~> 3.0)
|
|
30
|
+
safe_yaml (~> 1.0)
|
|
31
|
+
terminal-table (~> 1.8)
|
|
32
|
+
jekyll-sass-converter (2.0.1)
|
|
33
|
+
sassc (> 2.0.1, < 3.0)
|
|
34
|
+
jekyll-watch (2.2.1)
|
|
35
|
+
listen (~> 3.0)
|
|
36
|
+
kramdown (2.1.0)
|
|
37
|
+
kramdown-parser-gfm (1.1.0)
|
|
38
|
+
kramdown (~> 2.0)
|
|
39
|
+
liquid (4.0.3)
|
|
40
|
+
listen (3.2.0)
|
|
41
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
42
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
43
|
+
mercenary (0.3.6)
|
|
44
|
+
mpiwg-jekyll-theme (0.3.2)
|
|
45
|
+
jekyll (~> 4.0)
|
|
46
|
+
pathutil (0.16.2)
|
|
47
|
+
forwardable-extended (~> 2.6)
|
|
48
|
+
public_suffix (4.0.1)
|
|
49
|
+
rb-fsevent (0.10.3)
|
|
50
|
+
rb-inotify (0.10.0)
|
|
51
|
+
ffi (~> 1.0)
|
|
52
|
+
rouge (3.13.0)
|
|
53
|
+
safe_yaml (1.0.5)
|
|
54
|
+
sassc (2.2.1)
|
|
55
|
+
ffi (~> 1.9)
|
|
56
|
+
terminal-table (1.8.0)
|
|
57
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
58
|
+
unicode-display_width (1.6.0)
|
|
59
|
+
|
|
60
|
+
PLATFORMS
|
|
61
|
+
ruby
|
|
62
|
+
|
|
63
|
+
DEPENDENCIES
|
|
64
|
+
jekyll (~> 4.0.0)
|
|
65
|
+
mpiwg-jekyll-theme (~> 0.3.2)
|
|
66
|
+
|
|
67
|
+
BUNDLED WITH
|
|
68
|
+
2.0.2
|
data/_config.yml
ADDED
data/index.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
title: Available Tags
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Intro
|
|
7
|
+
|
|
8
|
+
Demo:
|
|
9
|
+
|
|
10
|
+
{% intro
|
|
11
|
+
|
|
12
|
+
This is an introduction
|
|
13
|
+
|
|
14
|
+
%}
|
|
15
|
+
|
|
16
|
+
## Accordeon
|
|
17
|
+
|
|
18
|
+
Demo:
|
|
19
|
+
|
|
20
|
+
{% accordeon Title of the accordeon %}
|
|
21
|
+
|
|
22
|
+
Content of the accordeon
|
|
23
|
+
|
|
24
|
+
{% endaccordeon %}
|
|
@@ -14,4 +14,28 @@ module Jekyll
|
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
Liquid::Template.register_tag('intro', Jekyll::RenderIntroBlock)
|
|
17
|
+
Liquid::Template.register_tag('intro', Jekyll::RenderIntroBlock)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Jekyll
|
|
21
|
+
class RenderAccordeonBlock < Liquid::Block
|
|
22
|
+
|
|
23
|
+
def initialize(tag_name, raw_params, tokens)
|
|
24
|
+
@raw_params = raw_params
|
|
25
|
+
super
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
require "kramdown"
|
|
29
|
+
def render(context)
|
|
30
|
+
text = super
|
|
31
|
+
title = @raw_params
|
|
32
|
+
"<details>
|
|
33
|
+
<summary>#{ title }</summary>
|
|
34
|
+
<p>#{ Kramdown::Document.new(text).to_html }</p>
|
|
35
|
+
</details>"
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
Liquid::Template.register_tag('accordeon', Jekyll::RenderAccordeonBlock)
|
data/mpiwg-jekyll-tags.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["fkraeutli@mpiwg-berlin.mpg.de"]
|
|
11
11
|
spec.homepage = "http://www.mpiwg-berlin.mpg.de"
|
|
12
12
|
spec.licenses = ["MIT"]
|
|
13
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|spec|features)/!) }
|
|
13
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|spec|features|_config.yml|index.md|_plugins|Makefile)/!) }
|
|
14
14
|
spec.require_paths = ["lib"]
|
|
15
15
|
spec.add_dependency "jekyll", "~> 4.0"
|
|
16
16
|
spec.add_development_dependency "rake", "~> 11.0"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mpiwg-jekyll-tags
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Kräutli
|
|
@@ -75,9 +75,12 @@ extra_rdoc_files: []
|
|
|
75
75
|
files:
|
|
76
76
|
- ".gitignore"
|
|
77
77
|
- Gemfile
|
|
78
|
+
- Gemfile.lock
|
|
78
79
|
- LICENSE
|
|
79
80
|
- Makefile
|
|
80
81
|
- README.md
|
|
82
|
+
- _config.yml
|
|
83
|
+
- index.md
|
|
81
84
|
- lib/mpiwg-jekyll-tags.rb
|
|
82
85
|
- lib/mpiwg-jekyll-tags/tag.rb
|
|
83
86
|
- lib/mpiwg-jekyll-tags/version.rb
|
|
@@ -101,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
104
|
- !ruby/object:Gem::Version
|
|
102
105
|
version: '0'
|
|
103
106
|
requirements: []
|
|
104
|
-
|
|
105
|
-
rubygems_version: 2.5.2.3
|
|
107
|
+
rubygems_version: 3.0.6
|
|
106
108
|
signing_key:
|
|
107
109
|
specification_version: 4
|
|
108
110
|
summary: Custom tags for MPIWG Jekyll Microsites
|