jekyll-zettel 0.6.4 → 0.6.5
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 +30 -0
- data/lib/jekyll/stubs/blatt.md +15 -20
- data/lib/jekyll/stubs/zeitleiste.md +30 -0
- data/lib/jekyll/zettel/akteur.rb +22 -0
- data/lib/jekyll/zettel/blatt.rb +22 -0
- data/lib/jekyll/zettel/version.rb +1 -1
- data/lib/jekyll/zettel/zeitleiste.rb +22 -0
- data/lib/jekyll/zettel.rb +3 -0
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d995b8e9f1803174702a895704c7a4dcf829b5e4f6be4524c80731a3c879b33
|
4
|
+
data.tar.gz: 39dc4fadf991035622e0c7671ab719d0e83ae95785cca64a22e1afba0b2f9765
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7046d8e25dc2cfb7adc1ed143e6125118c78cc88ecaf4d91d9ce234e19b7d12ea0c9e24f216817e5d544ccd424e37471c18e864dc37ba5d4f6a3cf27f9e2eeb7
|
7
|
+
data.tar.gz: 437063f5e633a595b227536439a55213a9f358fd86ed2a3d67d2ac60398479a5da4e6c23618150f0f97363f5255d2ab8668464105203302ca7b11d691a69cc5d
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: akteur
|
3
|
+
#
|
4
|
+
# created_at: #{Time.now}
|
5
|
+
#
|
6
|
+
# Die ID der Glosse entspricht dem Namen des Unterverzeichnisses.
|
7
|
+
# Dieser Wert darf auf keinen Fall geändert werden!
|
8
|
+
#
|
9
|
+
id: #{args['slug']}
|
10
|
+
#
|
11
|
+
# Die Dokumentation aller Properties findest du unter
|
12
|
+
# https://jessas.org/projekt/dokumentation/arbeitsblatt/#frontmatter
|
13
|
+
#
|
14
|
+
title: #{args['title']}
|
15
|
+
description:
|
16
|
+
#
|
17
|
+
# Optionale Properties
|
18
|
+
#
|
19
|
+
# tags: []
|
20
|
+
# folgezettel: []
|
21
|
+
# image:
|
22
|
+
# via:
|
23
|
+
# text:
|
24
|
+
# href:
|
25
|
+
# annotation:
|
26
|
+
---
|
27
|
+
|
28
|
+
<!-- Fußnoten -->
|
29
|
+
|
30
|
+
<!-- Links -->
|
data/lib/jekyll/stubs/blatt.md
CHANGED
@@ -1,35 +1,30 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
#
|
4
|
-
# Never ever change the id of your page!
|
5
|
-
# Changing the id has manifold side effects. Most of them unwanted.
|
6
|
-
# If you want to move or rename the page do it within the realms of
|
7
|
-
# this project.
|
8
|
-
#
|
9
|
-
id: #{args['id']}
|
10
|
-
#
|
2
|
+
layout: blatt
|
11
3
|
#
|
12
|
-
#
|
13
|
-
# Additional meta data may be required.
|
4
|
+
# created_at: #{Time.now}
|
14
5
|
#
|
15
|
-
|
6
|
+
# Die ID der Glosse entspricht dem Namen des Unterverzeichnisses.
|
7
|
+
# Dieser Wert darf auf keinen Fall geändert werden!
|
16
8
|
#
|
9
|
+
id: #{args['slug']}
|
17
10
|
#
|
18
|
-
#
|
11
|
+
# Die Dokumentation aller Properties findest du unter
|
12
|
+
# https://jessas.org/projekt/dokumentation/arbeitsblatt/#frontmatter
|
19
13
|
#
|
20
|
-
title:
|
14
|
+
title: #{args['title']}
|
21
15
|
description:
|
22
16
|
#
|
17
|
+
# Optionale Properties
|
23
18
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# character at the beginning of the corresponding lines.
|
27
|
-
#
|
28
|
-
# kicker:
|
19
|
+
# tags: []
|
20
|
+
# folgezettel: []
|
29
21
|
# image:
|
22
|
+
# via:
|
23
|
+
# text:
|
24
|
+
# href:
|
25
|
+
# annotation:
|
30
26
|
---
|
31
27
|
|
32
|
-
|
33
28
|
<!-- Fußnoten -->
|
34
29
|
|
35
30
|
<!-- Links -->
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: timeline
|
3
|
+
#
|
4
|
+
# created_at: #{Time.now}
|
5
|
+
#
|
6
|
+
# Die ID der Glosse entspricht dem Namen des Unterverzeichnisses.
|
7
|
+
# Dieser Wert darf auf keinen Fall geändert werden!
|
8
|
+
#
|
9
|
+
id: #{args['slug']}
|
10
|
+
#
|
11
|
+
# Die Dokumentation aller Properties findest du unter
|
12
|
+
# https://jessas.org/projekt/dokumentation/timeline/#frontmatter
|
13
|
+
#
|
14
|
+
title: #{args['title']}
|
15
|
+
description:
|
16
|
+
#
|
17
|
+
# Optionale Properties
|
18
|
+
#
|
19
|
+
# tags: []
|
20
|
+
# folgezettel: []
|
21
|
+
# image:
|
22
|
+
# via:
|
23
|
+
# text:
|
24
|
+
# href:
|
25
|
+
# annotation:
|
26
|
+
---
|
27
|
+
|
28
|
+
<!-- Fußnoten -->
|
29
|
+
|
30
|
+
<!-- Links -->
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Jekyll
|
2
|
+
module Zettel
|
3
|
+
# Scaffolder for infotype Glosse
|
4
|
+
class Akteur
|
5
|
+
|
6
|
+
include Jekyll::Zettel
|
7
|
+
|
8
|
+
def scaffold(args)
|
9
|
+
return nil if args_empty?(args)
|
10
|
+
|
11
|
+
slug = create_slug(args.first)
|
12
|
+
file = "akteur/#{slug}/index.md"
|
13
|
+
return file if create_dir_defensively('Akteur', slug, file).nil?
|
14
|
+
|
15
|
+
create_page({ 'slug' => slug, 'title' => args.first }, file, 'akteur.md')
|
16
|
+
|
17
|
+
Jekyll.logger.info '✓', "Created akteur with slug `#{slug}`"
|
18
|
+
file
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Jekyll
|
2
|
+
module Zettel
|
3
|
+
# Scaffolder for infotype Glosse
|
4
|
+
class Blatt
|
5
|
+
|
6
|
+
include Jekyll::Zettel
|
7
|
+
|
8
|
+
def scaffold(args)
|
9
|
+
return nil if args_empty?(args)
|
10
|
+
|
11
|
+
slug = create_slug(args.first)
|
12
|
+
file = "arbeitsblatt/#{slug}/index.md"
|
13
|
+
return file if create_dir_defensively('Arbeitsblatt', slug, file).nil?
|
14
|
+
|
15
|
+
create_page({ 'slug' => slug, 'title' => args.first }, file, 'blatt.md')
|
16
|
+
|
17
|
+
Jekyll.logger.info '✓', "Created blatt with slug `#{slug}`"
|
18
|
+
file
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Jekyll
|
2
|
+
module Zettel
|
3
|
+
# Scaffolder for infotype Glosse
|
4
|
+
class Zeitleiste
|
5
|
+
|
6
|
+
include Jekyll::Zettel
|
7
|
+
|
8
|
+
def scaffold(args)
|
9
|
+
return nil if args_empty?(args)
|
10
|
+
|
11
|
+
slug = create_slug(args.first)
|
12
|
+
file = "zeitleiste/#{slug}/index.md"
|
13
|
+
return file if create_dir_defensively('Zeitleiste', slug, file).nil?
|
14
|
+
|
15
|
+
create_page({ 'slug' => slug, 'title' => args.first }, file, 'zeitleiste.md')
|
16
|
+
|
17
|
+
Jekyll.logger.info '✓', "Created zeitleiste with slug `#{slug}`"
|
18
|
+
file
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/jekyll/zettel.rb
CHANGED
@@ -87,11 +87,14 @@ module Jekyll
|
|
87
87
|
end
|
88
88
|
|
89
89
|
require 'jekyll/commands/scaffold'
|
90
|
+
require 'jekyll/zettel/akteur'
|
91
|
+
require 'jekyll/zettel/blatt'
|
90
92
|
require 'jekyll/zettel/globals'
|
91
93
|
require 'jekyll/zettel/glosse'
|
92
94
|
require 'jekyll/zettel/reference'
|
93
95
|
require 'jekyll/zettel/references'
|
94
96
|
require 'jekyll/zettel/tags'
|
95
97
|
require 'jekyll/zettel/timeline'
|
98
|
+
require 'jekyll/zettel/zeitleiste'
|
96
99
|
require 'jekyll/zettel/zettel'
|
97
100
|
require 'jekyll/zettel/zettelkasten'
|
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.5
|
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-01-
|
11
|
+
date: 2022-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citeproc-ruby
|
@@ -106,10 +106,14 @@ files:
|
|
106
106
|
- Rakefile
|
107
107
|
- jekyll-zettel.gemspec
|
108
108
|
- lib/jekyll/commands/scaffold.rb
|
109
|
+
- lib/jekyll/stubs/akteur.md
|
109
110
|
- lib/jekyll/stubs/blatt.md
|
110
111
|
- lib/jekyll/stubs/glosse.md
|
112
|
+
- lib/jekyll/stubs/zeitleiste.md
|
111
113
|
- lib/jekyll/stubs/zettel.md
|
112
114
|
- lib/jekyll/zettel.rb
|
115
|
+
- lib/jekyll/zettel/akteur.rb
|
116
|
+
- lib/jekyll/zettel/blatt.rb
|
113
117
|
- lib/jekyll/zettel/globals.rb
|
114
118
|
- lib/jekyll/zettel/glosse.rb
|
115
119
|
- lib/jekyll/zettel/reference.rb
|
@@ -117,6 +121,7 @@ files:
|
|
117
121
|
- lib/jekyll/zettel/tags.rb
|
118
122
|
- lib/jekyll/zettel/timeline.rb
|
119
123
|
- lib/jekyll/zettel/version.rb
|
124
|
+
- lib/jekyll/zettel/zeitleiste.rb
|
120
125
|
- lib/jekyll/zettel/zettel.rb
|
121
126
|
- lib/jekyll/zettel/zettelkasten.rb
|
122
127
|
homepage: https://michaelgerzabek.com/gems/jekyll-zettel
|