jekyll-theme-jod 0.1.10 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/class-card.html +14 -13
- data/_layouts/default.html +3 -4
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4c12e50ab801a4eabe6cdfee6a203ff074065b12bac80aad6521436c8c8a836
|
4
|
+
data.tar.gz: 06f51ecd743ac2221536abcd45d62999939c29e3d6abf70f4759e1e3ecba2680
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a0f0428aaf4dc7a3d58a305569893500f446db0f0f838ab8d51bbe07d38922feef35fb817e929d65c7b85fa52e6a274a23d68d78dbbfe8981ce873e79912a4f
|
7
|
+
data.tar.gz: a4fb7605541d4ded8d9130882346ebbb055fbfe7c0362eb373225dccc68a4b64069537ecc2323d4c605c8ef59e2a36f37a2cad2e0b23ef6b72028a0cf8c372f6
|
data/_includes/class-card.html
CHANGED
@@ -1,42 +1,43 @@
|
|
1
1
|
{%- capture iri -%}<{{include.iri}}>{%- endcapture -%}
|
2
2
|
{%- assign cardResource = iri | rdf_get -%}
|
3
|
+
{%- assign resource_md5 = cardResource.iri | md5 -%}
|
3
4
|
<div
|
4
5
|
class="card"
|
5
|
-
id="{{
|
6
|
+
id="id-{{ resource_md5 }}"
|
6
7
|
>
|
7
8
|
<div class="card-header">
|
8
9
|
<h4 class="card-title">{% include label.html iri = cardResource.iri %}</h4>
|
9
10
|
<p><small class="text-muted">{{ cardResource.iri }}</small></p>
|
10
11
|
<nav
|
11
12
|
class="nav nav-tabs card-header-tabs"
|
12
|
-
id="{{
|
13
|
+
id="id-{{ resource_md5 }}-nav"
|
13
14
|
role="tablist">
|
14
15
|
<a
|
15
|
-
href="#{{
|
16
|
+
href="#id-{{ resource_md5 }}-description"
|
16
17
|
class="nav-item nav-link active"
|
17
18
|
aria-selected="true"
|
18
|
-
data-toggle="tab"
|
19
|
+
data-bs-toggle="tab"
|
19
20
|
role="tab">Description</a>
|
20
21
|
<a
|
21
|
-
href="#{{
|
22
|
+
href="#id-{{ resource_md5 }}-annotations"
|
22
23
|
class="nav-item nav-link"
|
23
24
|
aria-selected="false"
|
24
|
-
data-toggle="tab"
|
25
|
+
data-bs-toggle="tab"
|
25
26
|
role="tab">Annotations</a>
|
26
27
|
<a
|
27
|
-
href="#{{
|
28
|
-
id="{{
|
28
|
+
href="#id-{{ resource_md5 }}-relations"
|
29
|
+
id="id-{{ resource_md5 }}-tab-relations"
|
29
30
|
class="nav-item nav-link"
|
30
31
|
aria-selected="false"
|
31
|
-
data-toggle="tab"
|
32
|
+
data-bs-toggle="tab"
|
32
33
|
role="tab">Relations</a>
|
33
34
|
</nav>
|
34
35
|
</div>
|
35
36
|
<div
|
36
|
-
id="{{
|
37
|
+
id="id-{{ resource_md5 }}-tab-content"
|
37
38
|
class="tab-content card-body">
|
38
39
|
<div
|
39
|
-
id="{{
|
40
|
+
id="id-{{ resource_md5 }}-description"
|
40
41
|
class="card-text tab-pane fade show active"
|
41
42
|
role="tabpanel">
|
42
43
|
<p>
|
@@ -64,7 +65,7 @@
|
|
64
65
|
</dl>
|
65
66
|
</div>
|
66
67
|
<div
|
67
|
-
id="{{
|
68
|
+
id="id-{{ resource_md5 }}-annotations"
|
68
69
|
class="card-text tab-pane fade"
|
69
70
|
role="tabpanel">
|
70
71
|
<dl>
|
@@ -124,7 +125,7 @@
|
|
124
125
|
</dl>
|
125
126
|
</div>
|
126
127
|
<div
|
127
|
-
id="{{
|
128
|
+
id="id-{{ resource_md5 }}-relations"
|
128
129
|
class="card-text tab-pane fade"
|
129
130
|
role="tabpanel">
|
130
131
|
<dl>
|
data/_layouts/default.html
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
8
8
|
|
9
9
|
<!-- Bootstrap CSS -->
|
10
|
-
<link
|
10
|
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
11
|
+
|
11
12
|
</head>
|
12
13
|
<body>
|
13
14
|
|
@@ -15,8 +16,6 @@
|
|
15
16
|
|
16
17
|
<!-- Optional JavaScript -->
|
17
18
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
18
|
-
<script src="https://
|
19
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
|
20
|
-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
|
21
20
|
</body>
|
22
21
|
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-jod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Tramp
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '4.2'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '4.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: jekyll-rdf
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,6 +39,20 @@ dependencies:
|
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '3.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: liquid-md5
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.0.3
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.0.3
|
42
56
|
- !ruby/object:Gem::Dependency
|
43
57
|
name: bundler
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|