adhesiones-jekyll-theme 0.3.2 → 0.4.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: c8fa6f6a5083d8b9246186660de4a4aaebb68c18eb95f41121b8c42929d41048
4
- data.tar.gz: 81d1c4c4baf7ea118f10c1299e3460acef96523d57e597b5da90353a999e7c6b
3
+ metadata.gz: 2185d656fb4b93981a46db3321e8796687dbf19950ee932bb19216b4498f93bf
4
+ data.tar.gz: 12aba1c54c60ff50aed4ecca3cc1cc7a442463eea2e75c2d3415d7ed477e4668
5
5
  SHA512:
6
- metadata.gz: 76255be285d0e56cbba3294640957abf616b182a3ccab7a9ee5d55219529c06b2979c5290d4bc487a216248d20b72fb3d08ac285f9b10e0c21303eadcb8585de
7
- data.tar.gz: cec5d4221f26bb5e707d15494d7be29a392f1998f50d2da886532feee19238a0d6d3d80c7f963d7b39c81308c85617afeaa16551142744b0b3fa62832f72f28f
6
+ metadata.gz: b38581ecd6d74d60415f8fbb503c2d51bb3a2e4a48f003b98c07a47999e466a81ed920b0cd3ed2cc056a95659169f42d128ab3a11f3e582cb69b3558868be0e4
7
+ data.tar.gz: f972134b9d792f179424d296e85d384c2e3c202f1f100e40561900d613e1417920d4bd63c8566db578b7de8ad3eb9af163347b21dc1682a726505e36c69be07c
data/_data/en.yml CHANGED
@@ -48,6 +48,8 @@ date:
48
48
  time:
49
49
  am: am
50
50
  pm: pm
51
+ fediverse: "Fediverse"
52
+ follow_fediverse: "Follow us on Fediverse"
51
53
  layouts:
52
54
  about: "About"
53
55
  adhesion: "Endorsement"
data/_data/es.yml CHANGED
@@ -47,6 +47,8 @@ date:
47
47
  time:
48
48
  am: am
49
49
  pm: pm
50
+ fediverse: "Fediverso"
51
+ follow_fediverse: "Seguinos en el Fediverso"
50
52
  layouts:
51
53
  about: "Acerca"
52
54
  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
+ 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 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,25 @@ 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
+ in_reply_to:
101
+ type: "url"
102
+ label:
103
+ es: "En respuesta a"
104
+ en: "In reply to"
105
+ help:
106
+ es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
107
+ en: "Add the link to another article to reply to"
85
108
  permalink:
86
109
  type: 'string'
87
110
  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>
@@ -11,6 +11,17 @@
11
11
  {% include_cached share.html share=share url=include.url title=include.title description=include.description %}
12
12
  </div>
13
13
  {% endfor %}
14
+
15
+ {%- if site.activity_pub_profile -%}
16
+ <div class="col-12">
17
+ <span>
18
+ {{- site.i18n.follow_fediverse -}}
19
+ </span>
20
+ <span>
21
+ @{{ site.activity_pub_profile -}}
22
+ </span>
23
+ </div>
24
+ {%- endif -%}
14
25
  </div>
15
26
  </div>
16
27
  </label>
@@ -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.1
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-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll