adhesiones-jekyll-theme 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8fa6f6a5083d8b9246186660de4a4aaebb68c18eb95f41121b8c42929d41048
4
- data.tar.gz: 81d1c4c4baf7ea118f10c1299e3460acef96523d57e597b5da90353a999e7c6b
3
+ metadata.gz: 9bbe5f32024c423f638d8ade303189873674b4119f8b16a35074533339942abb
4
+ data.tar.gz: 3660f8d755c831a13118136404ce3f8f7c40cda64a06d6d7fc0bef5f56d79efb
5
5
  SHA512:
6
- metadata.gz: 76255be285d0e56cbba3294640957abf616b182a3ccab7a9ee5d55219529c06b2979c5290d4bc487a216248d20b72fb3d08ac285f9b10e0c21303eadcb8585de
7
- data.tar.gz: cec5d4221f26bb5e707d15494d7be29a392f1998f50d2da886532feee19238a0d6d3d80c7f963d7b39c81308c85617afeaa16551142744b0b3fa62832f72f28f
6
+ metadata.gz: 93afb484ec06b558cb943e1c9c033fce5cdaaeaf9a7d5367c366277059c3ae182dff3c504776ad0a616cffbf3c70d6ea2ac52709e684e5942ab74add16008422
7
+ data.tar.gz: a7cf1f14cc80f09dcfd4ec1e8a607498489101be80c8a8f4af5afea356372f44a0d9216f5df3d1aed7b3a64c9e851eb767894a8407113c2f8c65509baac8a045
data/_data/en.yml CHANGED
@@ -48,6 +48,7 @@ date:
48
48
  time:
49
49
  am: am
50
50
  pm: pm
51
+ fediverse: "Fediverse"
51
52
  layouts:
52
53
  about: "About"
53
54
  adhesion: "Endorsement"
data/_data/es.yml CHANGED
@@ -47,6 +47,7 @@ date:
47
47
  time:
48
48
  am: am
49
49
  pm: pm
50
+ fediverse: "Fediverso"
50
51
  layouts:
51
52
  about: "Acerca"
52
53
  adhesion: "Adhesión"
@@ -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 invites people to read the post!'
11
- description:
12
- type: 'text'
13
- required: true
11
+ summary:
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 the post contents, 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:
@@ -82,6 +86,36 @@ content:
82
86
  help:
83
87
  es: 'Escribe aquí el artículo'
84
88
  en: 'Write down your post'
89
+ activity:
90
+ type: "boolean"
91
+ label:
92
+ es: "Publicar en el Fediverso"
93
+ en: "Publish to Fediverse"
94
+ help:
95
+ es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
96
+ en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
97
+ default:
98
+ es: true
99
+ en: true
100
+ sensitive:
101
+ type: "boolean"
102
+ label:
103
+ es: "Tema sensible"
104
+ en: "Sensitive topic"
105
+ help:
106
+ es: "Activa esta opción si el artículo necesita una alerta de contenido."
107
+ en: "Enable this option if the post requires a content warning."
108
+ default:
109
+ es: false
110
+ en: false
111
+ in_reply_to:
112
+ type: "url"
113
+ label:
114
+ es: "En respuesta a"
115
+ en: "In reply to"
116
+ help:
117
+ es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
118
+ en: "Add the link to another article to reply to"
85
119
  permalink:
86
120
  type: 'string'
87
121
  label:
@@ -22,6 +22,17 @@
22
22
  </li>
23
23
  {% endif %}
24
24
 
25
+ {%- if site.activity_pub_profile -%}
26
+ <li>
27
+ <span>
28
+ {{- site.i18n.fediverse -}}
29
+ </span>
30
+ <span>
31
+ @{{ site.activity_pub_profile -}}
32
+ </span>
33
+ </li>
34
+ {%- endif -%}
35
+
25
36
  <p class="text-center d-print-none">
26
37
  {{ site.i18n.home.footer | markdownify }}
27
38
  </p>
@@ -33,6 +33,18 @@
33
33
 
34
34
  {% seo %}
35
35
  {% feed_meta %}
36
+
37
+ {%- if page.activity -%}
38
+ <link href="{{ page.activity.url | absolute_url }}" rel="alternate" type="application/activity+json" />
39
+ {%- endif -%}
40
+
41
+ {%- if site.activity_pub_profile -%}
42
+ <meta property="profile:username" content="{{ site.activity_pub_profile }}" />
43
+ {%- endif -%}
44
+
45
+ {%- if site.actor -%}
46
+ <link rel="me" href="{{ site.actor.url | absolute_url }}" />
47
+ {%- endif -%}
36
48
  </head>
37
49
  <body>
38
50
  <main class="container">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adhesiones-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-05 00:00:00.000000000 Z
13
+ date: 2023-11-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll