jekyll-zettel 0.6.5 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/stubs/timeline.json +25 -0
- data/lib/jekyll/stubs/zeitleiste.md +2 -1
- data/lib/jekyll/zettel/version.rb +1 -1
- data/lib/jekyll/zettel/zeitleiste.rb +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c4db208d02a866492ebe7c1ab57dbddce523f938e11a9517d0c854c7a09d77c
|
4
|
+
data.tar.gz: 7ba11cd14471a988e96624412b2915d60d1df7d0b46a57b98f80583debef4e79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3447ceb9e3fa7bacba4a4f08d82d91c5cb3f2297118102e0f2770882b418bdd273e2218fcc53581cf09e41d5f2b684d6076e1b7e94f68d72d1a504f5e8b2fb4a
|
7
|
+
data.tar.gz: 98261f5c55c30218ca932c58b6a38a8aa5edd459b1e9fbce2f15794b6a0f4700e0fd26ca1b91736d5906b239b30a31cf6f147d8695d0e242ca10d4cdc89a1729
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"title": {
|
3
|
+
"text": {
|
4
|
+
"headline": "Titel der Zeitleiste",
|
5
|
+
"text": "Text…"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"events": [
|
9
|
+
{
|
10
|
+
"start_date": {
|
11
|
+
"year": ""
|
12
|
+
},
|
13
|
+
"display_date": "",
|
14
|
+
"media": {
|
15
|
+
"url": "/assets/<infotype.pn>",
|
16
|
+
"link": "/<infotype>/<slug>/",
|
17
|
+
"link_target": "_parent"
|
18
|
+
},
|
19
|
+
"text": {
|
20
|
+
"headline": "Titel der Folie",
|
21
|
+
"text": "Folientext…"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
@@ -13,7 +13,8 @@ module Jekyll
|
|
13
13
|
return file if create_dir_defensively('Zeitleiste', slug, file).nil?
|
14
14
|
|
15
15
|
create_page({ 'slug' => slug, 'title' => args.first }, file, 'zeitleiste.md')
|
16
|
-
|
16
|
+
string = File.read(File.expand_path('../stubs/timeline.json', __dir__))
|
17
|
+
File.open("zeitleiste/#{slug}/timeline.json", 'w') { |out| out.write string }
|
17
18
|
Jekyll.logger.info '✓', "Created zeitleiste with slug `#{slug}`"
|
18
19
|
file
|
19
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-zettel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Gerzabek
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/jekyll/stubs/akteur.md
|
110
110
|
- lib/jekyll/stubs/blatt.md
|
111
111
|
- lib/jekyll/stubs/glosse.md
|
112
|
+
- lib/jekyll/stubs/timeline.json
|
112
113
|
- lib/jekyll/stubs/zeitleiste.md
|
113
114
|
- lib/jekyll/stubs/zettel.md
|
114
115
|
- lib/jekyll/zettel.rb
|