radios-comunitarias-jekyll-theme 0.1.6 → 0.2.0

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: 92fa91bea601ea69c096386b4acb61deab371da9a6833ce3fd36ea3cc3b00281
4
- data.tar.gz: ea9fc55af18067ef55d8733502e380cd2f8070b0e9e359cb9be0ea504787dc54
3
+ metadata.gz: 8ddb715619bd208a97059379c172a67d50d86fdf9a5f60c86f8abf8c2d7f2c81
4
+ data.tar.gz: 8bccbb7f4e90e3fdaed43e105c198f64bb5ac7c952662f77fbdb9d615685c49b
5
5
  SHA512:
6
- metadata.gz: bc5d47c308618474c32b761250a1444f3b819e5517f90e9f2c3c8cd5e98941013d493c9f314bbf6e379b5dc18f0dba7201f1a5bdb8922d8b5fc70a929936d5be
7
- data.tar.gz: c31d14233836831608d386ca8c370d618e5e91bc5282bb3deb03ff33da7f38aa57a3ee544064f32adc67f4078fe42c268aa110800caefd39799ecede7b78db63
6
+ metadata.gz: a0ab8100fa96052e233d993e7d8208c673be99de755baf99ba0b2d31d568a6df4751be5b25b669d79dc8a3ae12d4ab7e97023fd3c2b045e14ccb778e83837122
7
+ data.tar.gz: cd988afbd3bae6f82573a5a10325aac75ca8c08a1e6eb469ca0e8d16ab3d028d10efa160c7981cb8ae8b8223e7b8c69426b058e219d95c4539710f52bd195b6d
data/_data/en.yml CHANGED
@@ -60,3 +60,10 @@ share:
60
60
  - title: E-mail
61
61
  url: "mailto:?subject=%title&body=%description%0A%0A%url"
62
62
  icon: envelope
63
+ layouts:
64
+ code_of_conduct: "Code of conduct"
65
+ license: "License"
66
+ post: "Post"
67
+ privacy_policy: "Privacy policy"
68
+ radio: "About"
69
+ theme: "Customize"
data/_data/es.yml CHANGED
@@ -60,3 +60,10 @@ share:
60
60
  - title: Correo
61
61
  url: "mailto:?subject=%title&body=%description%0A%0A%url"
62
62
  icon: envelope
63
+ layouts:
64
+ code_of_conduct: "Código de conducta"
65
+ license: "Licencia"
66
+ post: "Artículo"
67
+ privacy_policy: "Política de privacidad"
68
+ radio: "Acerca"
69
+ theme: "Personalizar"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título del Codigo de Conducta"
7
+ en: "Title of code of conduct"
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"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título de la licencia"
7
+ en: "Licence title"
8
+ help:
9
+ es: "Título que describe la licencia a usar"
10
+ en: "Title that describes the license to use"
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"
@@ -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"
@@ -1,11 +1,14 @@
1
1
  {%- assign radio = site.posts | find: 'layout', 'radio' -%}
2
+ {%- assign license = site.posts | find: "layout", "license" -%}
3
+ {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
4
+ {%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%}
2
5
 
3
6
  <footer>
4
7
  {% comment %}
5
8
  Acá sale una mejora adhoc de la referencia
6
9
  {% endcomment %}
7
10
  <div class="row no-gutters justify-content-center text-center text-md-left">
8
- <div class="col-10">
11
+ <div class="col-10 col-md-5">
9
12
  <p class="m-0 font-weight-bold">
10
13
  <a href="{{ radio.url }}">
11
14
  {{ radio.title }}
@@ -15,13 +18,33 @@
15
18
  {%- for social in site.i18n.menu.items -%}
16
19
  {%- unless radio[social.type] -%}{% continue %}{%- endunless -%}
17
20
  <a
18
- rel="me"
21
+ rel="noopener me"
19
22
  target="_blank" href="{% if social.type == 'email' %}mailto:{% endif %}{{ radio[social.type] }}">
20
23
  <i class="fa fa-fw fa-x2 fa-{{ social.icon }}"></i>
21
24
  <span class="sr-only">{{ social.text }}</span>
22
25
  </a>
23
26
  {%- endfor -%}
24
27
  </div>
28
+ <div class="col-10 col-md-5">
29
+ <ul class="list-unstyled">
30
+ {% if license %}
31
+ <li>
32
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
33
+ </li>
34
+ {% endif %}
35
+
36
+ {% if code_of_conduct %}
37
+ <li>
38
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
39
+ </li>
40
+ {% endif %}
41
+
42
+ {% if privacy_policy %}
43
+ <li>
44
+ <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
45
+ </li>
46
+ {% endif %}
47
+ </div>
25
48
  </div>
26
49
 
27
50
  <div class="text-center">
@@ -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>
@@ -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>
@@ -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: radios-comunitarias-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-03-21 00:00:00.000000000 Z
14
+ date: 2023-04-03 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: jekyll
@@ -212,7 +212,10 @@ files:
212
212
  - _data/en.yml
213
213
  - _data/es.yml
214
214
  - _data/forms/contacto.yml
215
+ - _data/layouts/code_of_conduct.yml
216
+ - _data/layouts/license.yml
215
217
  - _data/layouts/post.yml
218
+ - _data/layouts/privacy_policy.yml
216
219
  - _data/layouts/radio.yml
217
220
  - _includes/boolean.html
218
221
  - _includes/contact.html
@@ -256,9 +259,12 @@ files:
256
259
  - _includes/tel.html
257
260
  - _includes/text.html
258
261
  - _includes/url.html
262
+ - _layouts/code_of_conduct.html
259
263
  - _layouts/default.html
260
264
  - _layouts/home.html
265
+ - _layouts/license.html
261
266
  - _layouts/post.html
267
+ - _layouts/privacy_policy.html
262
268
  - _layouts/radio.html
263
269
  - _sass/accessibility.scss
264
270
  - _sass/embed.scss