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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d995b8e9f1803174702a895704c7a4dcf829b5e4f6be4524c80731a3c879b33
4
- data.tar.gz: 39dc4fadf991035622e0c7671ab719d0e83ae95785cca64a22e1afba0b2f9765
3
+ metadata.gz: 9c4db208d02a866492ebe7c1ab57dbddce523f938e11a9517d0c854c7a09d77c
4
+ data.tar.gz: 7ba11cd14471a988e96624412b2915d60d1df7d0b46a57b98f80583debef4e79
5
5
  SHA512:
6
- metadata.gz: 7046d8e25dc2cfb7adc1ed143e6125118c78cc88ecaf4d91d9ce234e19b7d12ea0c9e24f216817e5d544ccd424e37471c18e864dc37ba5d4f6a3cf27f9e2eeb7
7
- data.tar.gz: 437063f5e633a595b227536439a55213a9f358fd86ed2a3d67d2ac60398479a5da4e6c23618150f0f97363f5255d2ab8668464105203302ca7b11d691a69cc5d
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
+ }
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: timeline
2
+ layout: zeitleiste
3
3
  #
4
4
  # created_at: #{Time.now}
5
5
  #
@@ -19,6 +19,7 @@ description:
19
19
  # tags: []
20
20
  # folgezettel: []
21
21
  # image:
22
+ # video:
22
23
  # via:
23
24
  # text:
24
25
  # href:
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Zettel
3
- VERSION = '0.6.5'.freeze
3
+ VERSION = '0.6.7'.freeze
4
4
  end
5
5
  end
@@ -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.5
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