sutty-jekyll-theme 0.2.0 → 0.2.3

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: 211917b5de3465400ce1b3a73bcf9f9cd0060e0179886724a585c658478c4b8f
4
- data.tar.gz: fb272884242dced81506c31e612795cac7841ea54397a894b03f12283d0f14c3
3
+ metadata.gz: 89410c3b0d7d1979e7351cecb3a716e8f2e1a7d4e7cecdd0c17048153bc1cd77
4
+ data.tar.gz: 509d2b78885a742d76ce1bd348d52cb9f5b17800fd934ccbdf289f95d1f0af61
5
5
  SHA512:
6
- metadata.gz: d9658ddcc06c6e6d4a070369346e9d51724f50d749f20d674bd6c623ddc14fa30d12ee6a6ba17925e4dd3494f4a7a82fe64158ef03fb14f6eeaedce0c5c2d1cf
7
- data.tar.gz: e1898c6ab45eaa3009534dfe6674589a30d17a16a3f8345c55f7953807fd75ec6f2d1a549ddb24a5bc7c5cf6b4b734e93e838ec6b8cb6dcd8b8cbef5f1e924e6
6
+ metadata.gz: 23dd79ff168e98ad0cd325a01efc22424266aa4206dcd56810d57a35d1e9f9a86e9df04e3570c95849c5c53c6ad273f8daba1b9d08683eb23b1685e5eea490a1
7
+ data.tar.gz: 235f1d1a3ae0f036a9a4c079df43e7592a8cfbe8eb0998ece695f7ccedc01b31b9f8a5844fa9ae0486df4fe1482ac10dc4fb0b6555dc9064b3f266b7469df8f0
data/_data/en.yml CHANGED
@@ -55,4 +55,5 @@ layouts:
55
55
  license: "Licence"
56
56
  page: "Page"
57
57
  post: "Post"
58
+ privacy_policy: "Privacy policy"
58
59
  theme: "Customize"
data/_data/es.yml CHANGED
@@ -55,4 +55,5 @@ layouts:
55
55
  license: "Licencia"
56
56
  page: "Página"
57
57
  post: "Artículo"
58
+ privacy_policy: "Política de privacidad"
58
59
  theme: "Personalizar"
@@ -6,8 +6,8 @@ title:
6
6
  es: "Título del Codigo de Conducta"
7
7
  en: "Title of code of conduct"
8
8
  help:
9
- es: "Título que describe la licencia a usar"
10
- en: "Title that describes the license to use"
9
+ es: ""
10
+ en: ""
11
11
  description:
12
12
  type: "text"
13
13
  required: true
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título"
7
+ en: "Title"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ 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\""
52
+ 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)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -2,7 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% assign licence = site.posts | find: "layout", "license" %}
6
5
  {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
6
 
8
7
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
@@ -42,15 +41,5 @@ layout: default
42
41
  {%- if page.uuid -%}
43
42
  <span hidden itemprop="identifier">{{ page.uuid }}</span>
44
43
  {%- endif -%}
45
-
46
- {%- if license -%}
47
- <p itemprop="license" itemtype="http://schema.org/CreativeWork">
48
- <a rel="license" itemprop="url" href="{{ license.url }}">
49
- <span itemprop="articleBody">
50
- {{ license.description }}
51
- </span>
52
- </a>
53
- </p>
54
- {%- endif -%}
55
44
  </footer>
56
45
  </article>
@@ -1,5 +1,6 @@
1
1
  {%- assign license = site.posts | find: "layout", "license" -%}
2
2
  {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
3
+ {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
3
4
 
4
5
  <!DOCTYPE html>
5
6
  <html lang="{{ site.lang }}" dir="{{ site.dir }}">
@@ -35,6 +36,10 @@
35
36
  {% if code_of_conduct %}
36
37
  <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
37
38
  {% endif %}
39
+
40
+ {% if privacy_policy %}
41
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
42
+ {% endif %}
38
43
  </footer>
39
44
  </body>
40
45
  </html>
@@ -2,7 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% assign licence = site.posts | find: "layout", "license" %}
6
5
  {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
6
 
8
7
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
@@ -42,15 +41,5 @@ layout: default
42
41
  {%- if page.uuid -%}
43
42
  <span hidden itemprop="identifier">{{ page.uuid }}</span>
44
43
  {%- endif -%}
45
-
46
- {%- if license -%}
47
- <p itemprop="license" itemtype="http://schema.org/CreativeWork">
48
- <a rel="license" itemprop="url" href="{{ license.url }}">
49
- <span itemprop="articleBody">
50
- {{ license.description }}
51
- </span>
52
- </a>
53
- </p>
54
- {%- endif -%}
55
44
  </footer>
56
45
  </article>
data/_layouts/page.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% assign licence = site.posts | find: "layout", "license" %}
5
+ {% assign license = site.posts | find: "layout", "license" %}
6
6
  {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
7
 
8
8
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
data/_layouts/post.html CHANGED
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% assign licence = site.posts | find: "layout", "license" %}
5
+ {% assign license = site.posts | find: "layout", "license" %}
6
6
  {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
7
 
8
8
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
6
+
7
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
8
+ <header>
9
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
10
+
11
+ {%- if page.description -%}
12
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
13
+ {%- endif -%}
14
+
15
+ <p>
16
+ {{ site.i18n.published_at }}
17
+
18
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
+ {{ page.date | date_local: date_format }}
20
+ </time>
21
+
22
+ {% if page.last_modified_at %}
23
+ {{ site.i18n.last_modified_at }}
24
+
25
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
+ {{ page.last_modified_at | date_local: date_format }}
27
+ </time>
28
+ {% endif %}
29
+ </p>
30
+ </header>
31
+
32
+ <div class="e-content" itemprop="articleBody">
33
+ {{ content }}
34
+ </div>
35
+
36
+ <footer>
37
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
38
+ {{ site.url }}{{ page.url }}
39
+ </a>
40
+
41
+ {%- if page.uuid -%}
42
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
43
+ {%- endif -%}
44
+ </footer>
45
+ </article>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -156,6 +156,7 @@ files:
156
156
  - _data/layouts/license.yml
157
157
  - _data/layouts/page.yml
158
158
  - _data/layouts/post.yml
159
+ - _data/layouts/privacy_policy.yml
159
160
  - _data/layouts/theme.yml
160
161
  - _includes/logo.svg
161
162
  - _includes/navbar.html
@@ -165,6 +166,7 @@ files:
165
166
  - _layouts/license.html
166
167
  - _layouts/page.html
167
168
  - _layouts/post.html
169
+ - _layouts/privacy_policy.html
168
170
  - _sass/buttons.scss
169
171
  - _sass/crypto.scss
170
172
  - _sass/custom.css