sutty-jekyll-theme 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/en.yml +1 -1
- data/_includes/footer.html +24 -0
- data/_includes/navbar.html +1 -1
- data/_layouts/default.html +1 -17
- 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: eabdb44f983e54b83a9632647fbb7de812b0389a715974828a3e37ee29d8d198
|
4
|
+
data.tar.gz: 946bde58d2f15a0fc4655a7e4dc1a985a500b0d985e40ed58dd0ab3e79f97f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0caa02d000e93e5855b082c835d35e2ad8c5fa45e71faaf1a57bc8f8e8bec4f49ad71027c0e0a1935fdde6b33ebb644cbc562fd4f1cd66d9e606427a45aeb73
|
7
|
+
data.tar.gz: c7080e654f1a82600f170b570fb43fd33719466cc9ff107c166a886f21f7a60f78dc0df12d87c0dd210deba25e859d64990ac9c4e15a55f36b7f7ca04092a35d
|
data/_data/en.yml
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
{%- assign license = site.posts | find: "layout", "license" -%}
|
2
|
+
{%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
|
3
|
+
{%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
|
4
|
+
|
5
|
+
<footer class="p-3">
|
6
|
+
<ul class="list-unstyled">
|
7
|
+
{% if license %}
|
8
|
+
<li>
|
9
|
+
<a href="{{ license.url }}" rel="license">{{ license.title }}</a>
|
10
|
+
</li>
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
{% if code_of_conduct %}
|
14
|
+
<li>
|
15
|
+
<a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
|
16
|
+
</li>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if privacy_policy %}
|
20
|
+
<li>
|
21
|
+
<a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
|
22
|
+
</li>
|
23
|
+
{% endif %}
|
24
|
+
</footer>
|
data/_includes/navbar.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{% assign about = site.posts | find: "layout", "about" %}
|
2
2
|
|
3
|
-
<nav class="navbar navbar-expand-lg
|
3
|
+
<nav class="navbar navbar-expand-lg d-print-block" role="navigation" aria-label="{{ site.i18n.menu.title }}">
|
4
4
|
<a class="navbar-brand" href="?#">
|
5
5
|
{% if about.logo.path %}
|
6
6
|
<img src="{{ about.logo.path | thumbnail: nil, 30 | uri_escape }}" height="30" alt="{{ about.logo.description | default: about.title }}" />
|
data/_layouts/default.html
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
{%- assign license = site.posts | find: "layout", "license" -%}
|
2
|
-
{%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
|
3
|
-
{%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
|
4
|
-
|
5
1
|
<!DOCTYPE html>
|
6
2
|
<html lang="{{ site.lang }}" dir="{{ site.dir }}">
|
7
3
|
<head>
|
@@ -28,18 +24,6 @@
|
|
28
24
|
</div>
|
29
25
|
</main>
|
30
26
|
|
31
|
-
|
32
|
-
{% if license %}
|
33
|
-
<a href="{{ license.url }}" rel="license">{{ license.title }}</a>
|
34
|
-
{% endif %}
|
35
|
-
|
36
|
-
{% if code_of_conduct %}
|
37
|
-
<a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
|
38
|
-
{% endif %}
|
39
|
-
|
40
|
-
{% if privacy_policy %}
|
41
|
-
<a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
|
42
|
-
{% endif %}
|
43
|
-
</footer>
|
27
|
+
{% include_cached footer.html %}
|
44
28
|
</body>
|
45
29
|
</html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutty-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -158,6 +158,7 @@ files:
|
|
158
158
|
- _data/layouts/post.yml
|
159
159
|
- _data/layouts/privacy_policy.yml
|
160
160
|
- _data/layouts/theme.yml
|
161
|
+
- _includes/footer.html
|
161
162
|
- _includes/logo.svg
|
162
163
|
- _includes/navbar.html
|
163
164
|
- _layouts/code_of_conduct.html
|