sutty-minima 2.6.0 → 2.6.1

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: 3775dce49f0c417a93e6e24e876e7cf08d30dcb92c26e3b4d6c56a9ff01192c5
4
- data.tar.gz: 93b990181888eabe7a114eb4a41d493edab05fce45decdae8ac449a3382bfaba
3
+ metadata.gz: 5a8b05bca2feac53da6bc8aa26535c9e30286316834412a0dd1635bb77623786
4
+ data.tar.gz: 4e2a8c9eb7a1fce5f9683a446ee4e34c534892b3755d47874a905d2a3354c502
5
5
  SHA512:
6
- metadata.gz: 18ff6e6cf3b5740bbaebbfb607abf3650a28258679cae65177248bf9a533282084d297cb2854bcc30ad60e46475f8fd7f1870cd56d39c708b9a31765c8d0929f
7
- data.tar.gz: 07f887a8772240f0a22ed655dc39b090ca1a1197bf492752d7b63e4daf698ffafb069ec4d929cfc7e920dd317b7ed61db76c35ead9803e75d39b4efb61b127da
6
+ metadata.gz: 99c63a98f0ef4a46e3feed629944f3fd62e8483cd770158d89775b9757cb6ce4fb85ecae8910ed4e376e00bb6981fd9981287fb57613f59b9edf3837dd6ffa3e
7
+ data.tar.gz: 866491e1c418540b7fe6a345b0b93ae3ffeee0aec7f821444789f8edbad9a0fb207beb311474c591d61a77b645c9c4c1f575162f314bd7c0cd003c74a4e1ddb8
@@ -0,0 +1,50 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ en: "Title"
7
+ es: "Título"
8
+ help:
9
+ en: "The name you want to give to this customization"
10
+ es: "El nombre que quieras darle a esta personalización"
11
+ skin:
12
+ type: "predefined_value"
13
+ label:
14
+ en: "Select a color scheme for your site"
15
+ es: "Selecciona una paleta de colores para tu sitio"
16
+ help:
17
+ en: ""
18
+ es: ""
19
+ default:
20
+ en: "classic"
21
+ es: "classic"
22
+ values:
23
+ en:
24
+ "": "Default"
25
+ classic: "Classic"
26
+ dark: "Dark"
27
+ solarized-dark: "Solarized Dark"
28
+ solarized: "Solarized"
29
+ es:
30
+ "": "Default"
31
+ classic: "Clásico"
32
+ dark: "Oscuro"
33
+ solarized-dark: "Solarizado oscuro"
34
+ solarized: "Solarizado"
35
+ draft:
36
+ type: "boolean"
37
+ label:
38
+ es: "Borrador"
39
+ en: "Draft"
40
+ help:
41
+ es: "Al activar \"Borrador\" este contenido se mantendrá disponible en el panel, pero no se publica en el sitio como los demás contenidos al tocar \"Publicar todos los cambios\""
42
+ en: "By activating \"Draft\", this content will remain available on the dashboard, but will not be published on the site when you tap \"Publish all changes\" (other content which does not have this option selected will)."
43
+ order:
44
+ type: "order"
45
+ label:
46
+ es: "Orden"
47
+ en: "Order"
48
+ help:
49
+ es: "La posición del artículo en la lista de artículos"
50
+ en: "Position in list of posts"
@@ -1,4 +1,7 @@
1
1
  {%- assign about = site.posts | find: "layout", "about" -%}
2
+ {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
3
+ {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
4
+ {%- assign license = site.posts | find: "layout", "license" -%}
2
5
  {%- assign author = about.author | default: site.title -%}
3
6
 
4
7
  <footer class="site-footer h-card">
@@ -15,17 +18,27 @@
15
18
  </svg><span>{{ site.i18n.footer.subscribe }}</span>
16
19
  </a>
17
20
  </p>
18
- {%- if author %}
19
21
  <ul class="contact-list">
20
22
  <li class="p-name">{{ author | escape }}</li>
21
23
  {% if about.email -%}
22
24
  <li><a class="u-email" href="mailto:{{ about.email }}">{{ about.email }}</a></li>
23
25
  {%- endif %}
26
+
27
+ {% if license %}
28
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
29
+ {% endif %}
30
+
31
+ {% if code_of_conduct %}
32
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
33
+ {% endif %}
34
+
35
+ {% if privacy_policy %}
36
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
37
+ {% endif %}
24
38
  </ul>
25
- {%- endif %}
26
39
  </div>
27
40
  <div class="footer-col">
28
- {{ site.description | allow_inclusive_language_in_markdown | markdownify | escape }}
41
+ {{ site.description | allow_inclusive_language_in_markdown | markdownify }}
29
42
  </div>
30
43
  </div>
31
44
 
@@ -2,6 +2,8 @@
2
2
  # Only the main Sass file needs front matter (the dashes are enough)
3
3
  ---
4
4
 
5
+ {%- assign theme = site.posts | find: "layout", "theme" -%}
6
+
5
7
  @import
6
- "minima/skins/{{ site.minima.skin | default: 'classic' }}",
8
+ "minima/skins/{{ theme.skin | default: 'classic' }}",
7
9
  "minima/initialize";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-minima
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -133,6 +133,7 @@ files:
133
133
  - _data/layouts/page.yml
134
134
  - _data/layouts/post.yml
135
135
  - _data/layouts/privacy_policy.yml
136
+ - _data/layouts/theme.yml
136
137
  - _includes/custom-head.html
137
138
  - _includes/disqus_comments.html
138
139
  - _includes/footer.html