sutty-jekyll-theme 0.2.4 → 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: 43a23972384635253928ec5df6cc758e5f1a152703f2cccf9c473d9f3ec6a8f6
4
- data.tar.gz: 8a240440d2a1b9f1b668fe4eaf78f2dbff53d0d6b27109922b6f8f84a109b21c
3
+ metadata.gz: eabdb44f983e54b83a9632647fbb7de812b0389a715974828a3e37ee29d8d198
4
+ data.tar.gz: 946bde58d2f15a0fc4655a7e4dc1a985a500b0d985e40ed58dd0ab3e79f97f9d
5
5
  SHA512:
6
- metadata.gz: 9ce50bc44a8377494a500203767ba7a4d91f0c2699e9f9fb5a4ddfe2cc7e3edfd68c4278b906008ba928ea90e4e43ec6ba1a63bf37de18cf44e9f7ab5ada7f64
7
- data.tar.gz: abfd4af50fadbdd55a53580db1b35acba02c1ff696d4f50761bd70808d2aae07361ba0a3c60f215d0b0200efb658a8b3bab16c5293f4a63a148a683e7fb5b027
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,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.4
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-29 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