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 +4 -4
- data/_data/en.yml +2 -0
- data/_data/es.yml +2 -0
- data/_data/layouts/post.yml +37 -14
- data/_includes/footer.html +11 -0
- data/_includes/share_box.html +11 -0
- data/_layouts/default.html +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2185d656fb4b93981a46db3321e8796687dbf19950ee932bb19216b4498f93bf
|
4
|
+
data.tar.gz: 12aba1c54c60ff50aed4ecca3cc1cc7a442463eea2e75c2d3415d7ed477e4668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b38581ecd6d74d60415f8fbb503c2d51bb3a2e4a48f003b98c07a47999e466a81ed920b0cd3ed2cc056a95659169f42d128ab3a11f3e582cb69b3558868be0e4
|
7
|
+
data.tar.gz: f972134b9d792f179424d296e85d384c2e3c202f1f100e40561900d613e1417920d4bd63c8566db578b7de8ad3eb9af163347b21dc1682a726505e36c69be07c
|
data/_data/en.yml
CHANGED
data/_data/es.yml
CHANGED
data/_data/layouts/post.yml
CHANGED
@@ -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
|
-
|
12
|
-
type:
|
13
|
-
required: true
|
11
|
+
content_warning:
|
12
|
+
type: "string"
|
14
13
|
label:
|
15
|
-
es:
|
16
|
-
en:
|
14
|
+
es: "Alerta de contenido"
|
15
|
+
en: "Content warning"
|
17
16
|
help:
|
18
17
|
es: |
|
19
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
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:
|
data/_includes/footer.html
CHANGED
@@ -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>
|
data/_includes/share_box.html
CHANGED
@@ -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>
|
data/_layouts/default.html
CHANGED
@@ -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.
|
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-
|
13
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jekyll
|