jekyll-zettel 0.6.0 → 0.6.4
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/blatt.md +6 -1
- data/lib/jekyll/stubs/glosse.md +8 -2
- data/lib/jekyll/stubs/zettel.md +6 -1
- data/lib/jekyll/zettel/references.rb +1 -1
- data/lib/jekyll/zettel/tags.rb +1 -1
- data/lib/jekyll/zettel/version.rb +1 -1
- data/lib/jekyll/zettel/zettelkasten.rb +3 -3
- data/lib/jekyll/zettel.rb +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b046f4c66ee4451186722f4a2ef98f1f49713ded9973e68b4d53ef2b3a8c42b7
|
4
|
+
data.tar.gz: f841cb4e262b1d14046838a54fc9d69d6b38d3a9d1a66f451e77601a74746610
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81e570c58d1d407ce5db3ac8e27cf18a724c6b0b26cfacec36d9a06d741931cdcc6973eb7845a0e9e98e5132439d4de1ae8bc730a0ddf742babe107bca47d6ff
|
7
|
+
data.tar.gz: 6d37000c96dbe08cf5104c5d2671c2b889a7c268c5abf35a8162a85fb91e8827ffa6da29ee1433c82b96eb9bbaf32f1e5cb3b5bc7a348c955d8126e08a51fa9a
|
data/lib/jekyll/stubs/blatt.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
# If you want to move or rename the page do it within the realms of
|
7
7
|
# this project.
|
8
8
|
#
|
9
|
-
|
9
|
+
id: #{args['id']}
|
10
10
|
#
|
11
11
|
#
|
12
12
|
# Be careful in changing the layout of this page.
|
@@ -28,3 +28,8 @@ description:
|
|
28
28
|
# kicker:
|
29
29
|
# image:
|
30
30
|
---
|
31
|
+
|
32
|
+
|
33
|
+
<!-- Fußnoten -->
|
34
|
+
|
35
|
+
<!-- Links -->
|
data/lib/jekyll/stubs/glosse.md
CHANGED
@@ -6,12 +6,13 @@ 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
|
-
|
9
|
+
id: #{args['slug']}
|
10
|
+
tag: #{args['title']}
|
10
11
|
#
|
11
12
|
# Die Dokumentation aller Properties findest du unter
|
12
13
|
# https://jessas.org/projekt/dokumentation/glosse/#frontmatter
|
13
14
|
#
|
14
|
-
title:
|
15
|
+
title:
|
15
16
|
description:
|
16
17
|
author:
|
17
18
|
#
|
@@ -20,3 +21,8 @@ author:
|
|
20
21
|
# tags: []
|
21
22
|
# image:
|
22
23
|
---
|
24
|
+
|
25
|
+
|
26
|
+
<!-- Fußnoten -->
|
27
|
+
|
28
|
+
<!-- Links -->
|
data/lib/jekyll/stubs/zettel.md
CHANGED
@@ -6,7 +6,7 @@ layout: zettel
|
|
6
6
|
# Die UUID des Zettels entspricht dem Namen des Unterverzeichnisses.
|
7
7
|
# Dieser Wert darf auf keinen Fall geändert werden!
|
8
8
|
#
|
9
|
-
|
9
|
+
id: #{args['uuid']}
|
10
10
|
#
|
11
11
|
# Die Dokumentation aller Properties findest du unter
|
12
12
|
# https://jessas.org/projekt/dokumentation/zettel/#frontmatter
|
@@ -26,3 +26,8 @@ author:
|
|
26
26
|
# href:
|
27
27
|
# annotation:
|
28
28
|
---
|
29
|
+
|
30
|
+
|
31
|
+
<!-- Fußnoten -->
|
32
|
+
|
33
|
+
<!-- Links -->
|
data/lib/jekyll/zettel/tags.rb
CHANGED
@@ -2,7 +2,7 @@ module Jekyll
|
|
2
2
|
module Zettel
|
3
3
|
# Generate tags.json from page front matter
|
4
4
|
class Zettelkasten < Jekyll::Generator
|
5
|
-
include Zettel
|
5
|
+
include Jekyll::Zettel
|
6
6
|
|
7
7
|
priority :low
|
8
8
|
|
@@ -27,8 +27,8 @@ module Jekyll
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def register_zettel(doc)
|
30
|
-
@site.data['zettelkasten'][doc.data['
|
31
|
-
'zettel' => doc.data['
|
30
|
+
@site.data['zettelkasten'][doc.data['id']] = {
|
31
|
+
'zettel' => doc.data['id'],
|
32
32
|
'title' => doc.data['title'],
|
33
33
|
'description' => doc.data['description'],
|
34
34
|
'author' => doc.data['author'],
|
data/lib/jekyll/zettel.rb
CHANGED
@@ -66,7 +66,7 @@ module Jekyll
|
|
66
66
|
dir = File.dirname(file)
|
67
67
|
if File.directory?(dir)
|
68
68
|
if File.exist?(file)
|
69
|
-
Jekyll.logger.error
|
69
|
+
Jekyll.logger.error LOG_KEY, "#{infotype} `#{slug}` already present"
|
70
70
|
nil
|
71
71
|
else
|
72
72
|
dir
|
@@ -79,19 +79,19 @@ module Jekyll
|
|
79
79
|
def args_empty?(args)
|
80
80
|
return false unless args.empty?
|
81
81
|
|
82
|
-
Jekyll.logger.error
|
83
|
-
Jekyll.logger.info
|
82
|
+
Jekyll.logger.error LOG_KEY, 'Missing argument slug'
|
83
|
+
Jekyll.logger.info LOG_KEY, 'usage: jekyll scaffold --glosse <slug>'
|
84
84
|
true
|
85
85
|
end
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
require 'jekyll/commands/scaffold'
|
89
90
|
require 'jekyll/zettel/globals'
|
90
|
-
require 'jekyll/zettel/
|
91
|
+
require 'jekyll/zettel/glosse'
|
91
92
|
require 'jekyll/zettel/reference'
|
92
|
-
require 'jekyll/zettel/
|
93
|
+
require 'jekyll/zettel/references'
|
93
94
|
require 'jekyll/zettel/tags'
|
94
|
-
require 'jekyll/zettel/
|
95
|
-
require 'jekyll/commands/scaffold'
|
96
|
-
require 'jekyll/zettel/glosse'
|
95
|
+
require 'jekyll/zettel/timeline'
|
97
96
|
require 'jekyll/zettel/zettel'
|
97
|
+
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.4
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citeproc-ruby
|