jekyll-zettel 0.6.5 → 0.6.10
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/lib/jekyll/stubs/akteur.md +5 -0
- data/lib/jekyll/stubs/blatt.md +5 -0
- data/lib/jekyll/stubs/glosse.md +6 -1
- data/lib/jekyll/stubs/timeline.json +25 -0
- data/lib/jekyll/stubs/zeitleiste.md +7 -1
- data/lib/jekyll/stubs/zettel.md +5 -0
- data/lib/jekyll/zettel/tags.rb +1 -1
- data/lib/jekyll/zettel/version.rb +1 -1
- data/lib/jekyll/zettel/zeitleiste.rb +2 -1
- data/lib/jekyll/zettel/zettelkasten.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80c15ccd85f0ce14846f04fab4b2b920dc94b2fae988de1ae795e5faac987c80
|
|
4
|
+
data.tar.gz: d358e7f2535c707f154ca46964afc366bdceb8aea3867a7c2b9df27d6edef370
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bac8b0c9347dd1c8a44694602936dc0aa3a7d5706f121aa4d3ce6861f5cd83063086e23e4e8aabbb55fc62944ba451121832080ae8b0cf157054c0d69e70f7e3
|
|
7
|
+
data.tar.gz: 200801da51afae64af29e3a00bd424aeb5f8ab71f67389480552f41d52868c9d674d5aa0386f14952f05e1cc27d8ee2b283b8b7328c9e7c94392a2c917fd6e3c
|
data/lib/jekyll/stubs/akteur.md
CHANGED
|
@@ -8,6 +8,11 @@ layout: akteur
|
|
|
8
8
|
#
|
|
9
9
|
id: #{args['slug']}
|
|
10
10
|
#
|
|
11
|
+
# Der Status des Infotypen
|
|
12
|
+
# https://jessas.org/projekt/dokumentation/infotype/#status
|
|
13
|
+
#
|
|
14
|
+
status: draft
|
|
15
|
+
#
|
|
11
16
|
# Die Dokumentation aller Properties findest du unter
|
|
12
17
|
# https://jessas.org/projekt/dokumentation/arbeitsblatt/#frontmatter
|
|
13
18
|
#
|
data/lib/jekyll/stubs/blatt.md
CHANGED
|
@@ -8,6 +8,11 @@ layout: blatt
|
|
|
8
8
|
#
|
|
9
9
|
id: #{args['slug']}
|
|
10
10
|
#
|
|
11
|
+
# Der Status des Infotypen
|
|
12
|
+
# https://jessas.org/projekt/dokumentation/infotype/#status
|
|
13
|
+
#
|
|
14
|
+
status: draft
|
|
15
|
+
#
|
|
11
16
|
# Die Dokumentation aller Properties findest du unter
|
|
12
17
|
# https://jessas.org/projekt/dokumentation/arbeitsblatt/#frontmatter
|
|
13
18
|
#
|
data/lib/jekyll/stubs/glosse.md
CHANGED
|
@@ -6,7 +6,12 @@ layout: glosse
|
|
|
6
6
|
# Die ID der Glosse entspricht dem Namen des Unterverzeichnisses.
|
|
7
7
|
# Dieser Wert darf auf keinen Fall geändert werden!
|
|
8
8
|
#
|
|
9
|
-
id: #{args['slug']}
|
|
9
|
+
id: #{args['slug']}
|
|
10
|
+
#
|
|
11
|
+
# Der Status des Infotypen
|
|
12
|
+
# https://jessas.org/projekt/dokumentation/infotype/#status
|
|
13
|
+
#
|
|
14
|
+
status: draft
|
|
10
15
|
tag: #{args['title']}
|
|
11
16
|
#
|
|
12
17
|
# Die Dokumentation aller Properties findest du unter
|
|
@@ -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:
|
|
2
|
+
layout: zeitleiste
|
|
3
3
|
#
|
|
4
4
|
# created_at: #{Time.now}
|
|
5
5
|
#
|
|
@@ -8,6 +8,11 @@ layout: timeline
|
|
|
8
8
|
#
|
|
9
9
|
id: #{args['slug']}
|
|
10
10
|
#
|
|
11
|
+
# Der Status des Infotypen
|
|
12
|
+
# https://jessas.org/projekt/dokumentation/infotype/#status
|
|
13
|
+
#
|
|
14
|
+
status: draft
|
|
15
|
+
#
|
|
11
16
|
# Die Dokumentation aller Properties findest du unter
|
|
12
17
|
# https://jessas.org/projekt/dokumentation/timeline/#frontmatter
|
|
13
18
|
#
|
|
@@ -19,6 +24,7 @@ description:
|
|
|
19
24
|
# tags: []
|
|
20
25
|
# folgezettel: []
|
|
21
26
|
# image:
|
|
27
|
+
# video:
|
|
22
28
|
# via:
|
|
23
29
|
# text:
|
|
24
30
|
# href:
|
data/lib/jekyll/stubs/zettel.md
CHANGED
|
@@ -8,6 +8,11 @@ layout: zettel
|
|
|
8
8
|
#
|
|
9
9
|
id: #{args['uuid']}
|
|
10
10
|
#
|
|
11
|
+
# Der Status des Infotypen
|
|
12
|
+
# https://jessas.org/projekt/dokumentation/infotype/#status
|
|
13
|
+
#
|
|
14
|
+
status: draft
|
|
15
|
+
#
|
|
11
16
|
# Die Dokumentation aller Properties findest du unter
|
|
12
17
|
# https://jessas.org/projekt/dokumentation/zettel/#frontmatter
|
|
13
18
|
#
|
data/lib/jekyll/zettel/tags.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Jekyll
|
|
|
28
28
|
@site.data['tags'][parts[:slug]] = {
|
|
29
29
|
'slug' => parts[:slug],
|
|
30
30
|
'tag' => doc.data['tag'] || 'Missing @tag',
|
|
31
|
-
'
|
|
31
|
+
'title' => doc.data['title'] || 'Missing @title',
|
|
32
32
|
'description' => doc.data['description'] || 'Missing @description',
|
|
33
33
|
'tags' => doc.data['tags']
|
|
34
34
|
}
|
|
@@ -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,14 +1,14 @@
|
|
|
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.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Gerzabek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: citeproc-ruby
|
|
@@ -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
|