radios-comunitarias-jekyll-theme 0.1.6 → 0.3.0rc0

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: 1b9c033de3c73fc2c8925f9e4386fb6126554e276e3c79b1598b8956e8d1f545
4
+ data.tar.gz: 1fd22242e0417a153f0d1250719c28cdb3a0cd6ce2d3d8d36b5a114849cae31e
5
5
  SHA512:
6
- metadata.gz: bc5d47c308618474c32b761250a1444f3b819e5517f90e9f2c3c8cd5e98941013d493c9f314bbf6e379b5dc18f0dba7201f1a5bdb8922d8b5fc70a929936d5be
7
- data.tar.gz: c31d14233836831608d386ca8c370d618e5e91bc5282bb3deb03ff33da7f38aa57a3ee544064f32adc67f4078fe42c268aa110800caefd39799ecede7b78db63
6
+ metadata.gz: ab9e97139cc58c244906db6df5d48a8f6085ee5bde184a8f4be591a1d2702d7b00ae081f8e12cd92bbb981047b2858fec3f296d69c3e888c8427c3dcf21971f3
7
+ data.tar.gz: ec4fdd3d1fd72bb7fbda5b58ab70083d3d6a670bd7696ebab4b09c896c36e6a0feeda0e1cc3cb125f09ce3a773a1d5c2afc6a0883e171a0c7124e65359df29a0
data/_data/en.yml CHANGED
@@ -6,6 +6,7 @@ layouts:
6
6
  radio: Radio
7
7
  no_audio_support: "Your browser doesn't support audio, please copy this address:"
8
8
  other_posts: "Previous Articles"
9
+ fediverse: "Fediverse"
9
10
  footer:
10
11
  credits: "Made with [Sutty](https://sutty.nl/), design by [librenauta](https://copiona.com/)"
11
12
  menu:
@@ -60,3 +61,10 @@ share:
60
61
  - title: E-mail
61
62
  url: "mailto:?subject=%title&body=%description%0A%0A%url"
62
63
  icon: envelope
64
+ layouts:
65
+ code_of_conduct: "Code of conduct"
66
+ license: "License"
67
+ post: "Post"
68
+ privacy_policy: "Privacy policy"
69
+ radio: "About"
70
+ theme: "Customize"
data/_data/es.yml CHANGED
@@ -6,6 +6,7 @@ layouts:
6
6
  radio: Radio
7
7
  no_audio_support: "Tu navegador no soporta audio, copia esta dirección en un reproductor:"
8
8
  other_posts: "Artículos anteriores"
9
+ fediverse: "Fediverso"
9
10
  footer:
10
11
  credits: "Sitio hecho con [Sutty](https://sutty.nl/), diseño por [librenauta](https://copiona.com/)"
11
12
  menu:
@@ -60,3 +61,10 @@ share:
60
61
  - title: Correo
61
62
  url: "mailto:?subject=%title&body=%description%0A%0A%url"
62
63
  icon: envelope
64
+ layouts:
65
+ code_of_conduct: "Código de conducta"
66
+ license: "Licencia"
67
+ post: "Artículo"
68
+ privacy_policy: "Política de privacidad"
69
+ radio: "Acerca"
70
+ 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"
@@ -8,24 +8,28 @@ title:
8
8
  help:
9
9
  es: "¡Un título que invite a leer el artículo!"
10
10
  en: "A title that makes people want to read the post!"
11
- description:
12
- type: "text"
13
- required: true
11
+ content_warning:
12
+ type: "string"
14
13
  label:
15
- es: "Alerta de contenido o descripción del artículo"
16
- en: "Content warning or post description"
14
+ es: "Alerta de contenido"
15
+ en: "Content warning"
17
16
  help:
18
17
  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.
18
+ Si el artículo trata de violencias y otros temas sensibles, te
19
+ invitamos a usar este campo como alerta de contenido, para que las
20
+ personas puedan determinar cuándo quieren abrirlo.
24
21
  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.
22
+ If the post is about violence and other sensitive topics, we
23
+ invite you to use it as a content warning, so others can decide
24
+ when they want to read it.
25
+ description:
26
+ type: "text"
27
+ label:
28
+ es: "Descripción del artículo"
29
+ en: "Post description"
30
+ help:
31
+ es: "Descripción del contenido del artículo, que también usarán redes sociales y buscadores."
32
+ en: "Description of post content, also used by social media and search engines."
29
33
  author:
30
34
  type: "array"
31
35
  label:
@@ -58,6 +62,25 @@ content:
58
62
  help:
59
63
  es: "Escribe aquí el artículo"
60
64
  en: "Write your post here"
65
+ activity:
66
+ type: "boolean"
67
+ label:
68
+ es: "Publicar en el Fediverso"
69
+ en: "Publish to Fediverse"
70
+ help:
71
+ es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
72
+ en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
73
+ default:
74
+ es: true
75
+ en: true
76
+ in_reply_to:
77
+ type: "url"
78
+ label:
79
+ es: "En respuesta a"
80
+ en: "In reply to"
81
+ help:
82
+ es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
83
+ en: "Add the link to another article to reply to"
61
84
  categories:
62
85
  type: "array"
63
86
  label:
@@ -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,44 @@
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
+
48
+ {%- if site.activity_pub_profile -%}
49
+ <li>
50
+ <span>
51
+ {{- site.i18n.fediverse -}}
52
+ </span>
53
+ <span>
54
+ @{{ site.activity_pub_profile -}}
55
+ </span>
56
+ </li>
57
+ {%- endif -%}
58
+ </div>
25
59
  </div>
26
60
 
27
61
  <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>
@@ -15,6 +15,18 @@
15
15
  {% seo %}
16
16
  {% feed_meta %}
17
17
 
18
+ {%- if page.activity -%}
19
+ <link href="{{ page.activity.url | absolute_url }}" rel="alternate" type="application/activity+json" />
20
+ {%- endif -%}
21
+
22
+ {%- if site.activity_pub_profile -%}
23
+ <meta property="profile:username" content="{{ site.activity_pub_profile }}" />
24
+ {%- endif -%}
25
+
26
+ {%- if site.actor -%}
27
+ <link rel="me" href="{{ site.actor.url | absolute_url }}" />
28
+ {%- endif -%}
29
+
18
30
  {%- if page.locales -%}
19
31
  {% for locale in page.locales %}
20
32
  <link
@@ -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>
@@ -65,3 +65,7 @@ $navbar-brand-font-size: 1rem;
65
65
  .turbolinks-progress-bar {
66
66
  background-color: $navbar-foreground;
67
67
  }
68
+
69
+ img, video {
70
+ max-width: 100%;
71
+ }
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.3.0rc0
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-11-17 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
@@ -297,9 +303,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
297
303
  version: '0'
298
304
  required_rubygems_version: !ruby/object:Gem::Requirement
299
305
  requirements:
300
- - - ">="
306
+ - - ">"
301
307
  - !ruby/object:Gem::Version
302
- version: '0'
308
+ version: 1.3.1
303
309
  requirements: []
304
310
  rubygems_version: 3.3.26
305
311
  signing_key: