sutty-jekyll-theme 0.2.0 → 0.2.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: 211917b5de3465400ce1b3a73bcf9f9cd0060e0179886724a585c658478c4b8f
4
- data.tar.gz: fb272884242dced81506c31e612795cac7841ea54397a894b03f12283d0f14c3
3
+ metadata.gz: c1f49e995c168745bd29780aad29624a2141795ac628cc7d5e0342b74857f99b
4
+ data.tar.gz: 1299f50067c301e64a4d8a850a52947222cd2caa5866605bce0c022b43dd4b34
5
5
  SHA512:
6
- metadata.gz: d9658ddcc06c6e6d4a070369346e9d51724f50d749f20d674bd6c623ddc14fa30d12ee6a6ba17925e4dd3494f4a7a82fe64158ef03fb14f6eeaedce0c5c2d1cf
7
- data.tar.gz: e1898c6ab45eaa3009534dfe6674589a30d17a16a3f8345c55f7953807fd75ec6f2d1a549ddb24a5bc7c5cf6b4b734e93e838ec6b8cb6dcd8b8cbef5f1e924e6
6
+ metadata.gz: 784acaacb5907fbf6fb468e47415517a844dc8872c6271ee37a7eeb2ae006000ccba0d381dce4de50458c34a887eedab10ec4eb8e6c6e87a9af889c4ddb3ef12
7
+ data.tar.gz: c79ac2bbca35a6888927894fd397db8dfcc3b011f345c04c4b8917bfe398fdb60cab139e9790f93d7f802293f4105e577a79b2e83743e25f2d1cf8f489055d6e
@@ -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>
@@ -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.1
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