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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89410c3b0d7d1979e7351cecb3a716e8f2e1a7d4e7cecdd0c17048153bc1cd77
4
- data.tar.gz: 509d2b78885a742d76ce1bd348d52cb9f5b17800fd934ccbdf289f95d1f0af61
3
+ metadata.gz: eabdb44f983e54b83a9632647fbb7de812b0389a715974828a3e37ee29d8d198
4
+ data.tar.gz: 946bde58d2f15a0fc4655a7e4dc1a985a500b0d985e40ed58dd0ab3e79f97f9d
5
5
  SHA512:
6
- metadata.gz: 23dd79ff168e98ad0cd325a01efc22424266aa4206dcd56810d57a35d1e9f9a86e9df04e3570c95849c5c53c6ad273f8daba1b9d08683eb23b1685e5eea490a1
7
- data.tar.gz: 235f1d1a3ae0f036a9a4c079df43e7592a8cfbe8eb0998ece695f7ccedc01b31b9f8a5844fa9ae0486df4fe1482ac10dc4fb0b6555dc9064b3f266b7469df8f0
6
+ metadata.gz: e0caa02d000e93e5855b082c835d35e2ad8c5fa45e71faaf1a57bc8f8e8bec4f49ad71027c0e0a1935fdde6b33ebb644cbc562fd4f1cd66d9e606427a45aeb73
7
+ data.tar.gz: c7080e654f1a82600f170b570fb43fd33719466cc9ff107c166a886f21f7a60f78dc0df12d87c0dd210deba25e859d64990ac9c4e15a55f36b7f7ca04092a35d
data/_data/en.yml CHANGED
@@ -52,7 +52,7 @@ time:
52
52
  layouts:
53
53
  about: "About"
54
54
  code_of_conduct: "Code of conduct"
55
- license: "Licence"
55
+ license: "License"
56
56
  page: "Page"
57
57
  post: "Post"
58
58
  privacy_policy: "Privacy policy"
@@ -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>
@@ -1,6 +1,6 @@
1
1
  {% assign about = site.posts | find: "layout", "about" %}
2
2
 
3
- <nav class="navbar navbar-expand-lg navbar-light bg-light d-print-block" role="navigation" aria-label="{{ site.i18n.menu.title }}">
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 }}" />
@@ -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
- <footer class="p-3">
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.3
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-22 00:00:00.000000000 Z
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