sutty-jekyll-theme 0.2.7 → 0.3.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: 74bb04c7e2233f189456a41846cefe95dbb72bff3f22c1cb5547685d631b84a1
4
- data.tar.gz: 06047d1ea296423331c84fde1a8fa6238be2a55d23be8ed3440bd9c2a537307a
3
+ metadata.gz: 97f15a740ac73fa9d36a0eb43d1727fc510a35c5848c5a5d6a7e6aba46752c34
4
+ data.tar.gz: df99c621a77767d91629a5f836347b667bc635af701305436cd170cdf9f3a80d
5
5
  SHA512:
6
- metadata.gz: 490aafbe4324224f4b7c0379c6ba08f40e10a20998ab28fdae144ca7cc58bb8692e4a564a43e883a5bb462a9d8c6cf69aac4054053935fd32bed687893a8a9ba
7
- data.tar.gz: 46a892989c9ad3e278b86497983e0adb30d29634ebbebac42907e770418a9204b927dd56305e40ae7a0988a1905d88ec96c532a1a27331e1d809bea3fcb00dde
6
+ metadata.gz: 2a71613afd17583967c2496c57cb3a8e19389e13cb1a9e1e07ab0030a8dca11f5915cd719013ccf511456875f47149318291732f1acec3841cf39a9f1a7a0d6a
7
+ data.tar.gz: 3fbaef086bf2948b7679dd126f408161a03a415539d951c3f3ac446d26c3efaf53c74cfba94fcc1f37c3cb761ec7eb385375eda882e822d70dfa194f702af833
data/_data/en.yml CHANGED
@@ -57,3 +57,5 @@ layouts:
57
57
  post: "Post"
58
58
  privacy_policy: "Privacy policy"
59
59
  theme: "Customize"
60
+ footer:
61
+ fediverse: "Fediverse"
data/_data/es.yml CHANGED
@@ -57,3 +57,5 @@ layouts:
57
57
  post: "Artículo"
58
58
  privacy_policy: "Política de privacidad"
59
59
  theme: "Personalizar"
60
+ footer:
61
+ fediverse: "Fediverso"
@@ -8,24 +8,29 @@ 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
18
+ Si el artículo trata de violencias y otros
21
19
  temas sensibles, te invitamos a usar este campo como alerta de
22
20
  contenido, para que las personas puedan determinar cuándo quieren
23
21
  abrirlo.
24
22
  en: |
25
- Summary of post content, also used by social media and search
26
- engines. If the post is about violence and other sensitive
23
+ If the post is about violence and other sensitive
27
24
  topics, we invite you to use it as a content warning, so others
28
25
  can decide when they want to read it.
26
+ description:
27
+ type: "text"
28
+ label:
29
+ es: "Descripción del artículo"
30
+ en: "Post description"
31
+ help:
32
+ es: "Descripción del contenido del artículo, que también usarán redes sociales y buscadores."
33
+ en: "Description of post content, also used by social media and search engines."
29
34
  author:
30
35
  type: "array"
31
36
  label:
@@ -50,6 +55,25 @@ image:
50
55
  help:
51
56
  es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
52
57
  en: "Describe the image for accesibility purposes and for indexation in search engines"
58
+ activity:
59
+ type: "boolean"
60
+ label:
61
+ es: "Publicar en el Fediverso"
62
+ en: "Publish to Fediverse"
63
+ help:
64
+ es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
65
+ en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
66
+ default:
67
+ es: true
68
+ en: true
69
+ in_replay_to:
70
+ type: "url"
71
+ label:
72
+ es: "En respuesta a"
73
+ en: "In replay to"
74
+ help:
75
+ es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
76
+ en: "Add the link to another article to replay to"
53
77
  content:
54
78
  type: "new_content"
55
79
  label:
@@ -4,6 +4,14 @@
4
4
 
5
5
  <footer class="p-3">
6
6
  <ul class="list-unstyled">
7
+ {%- if site.activity_pub_profile -%}
8
+ {{- site.i18n.footer.fediverse -}}
9
+ <span>
10
+ @{{ site.activity_pub_profile -}}
11
+ </span>
12
+ </p>
13
+ {%- endif -%}
14
+
7
15
  {% if license %}
8
16
  <li>
9
17
  <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
@@ -19,6 +19,19 @@
19
19
 
20
20
  {% seo %}
21
21
  {% feed_meta %}
22
+
23
+ {% if page.activity %}
24
+ <link href="{{ page.activity.url | absolute_url }}" rel="alternate" type="application/activity+json" />
25
+ {% endif %}
26
+
27
+ {%- if site.activity_pub_profile -%}
28
+ <meta property="profile:username" content="{{ site.activity_pub_profile }}" />
29
+ {%- endif -%}
30
+
31
+ {%- if site.actor -%}
32
+ <link rel="me" href="{{ site.actor.url | absolute_url }}" />
33
+ {%- endif -%}
34
+
22
35
  </head>
23
36
  <body class="min-vh-100 d-flex flex-column">
24
37
  {% include navbar.html %}
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
+ - e
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2023-09-25 00:00:00.000000000 Z
12
+ date: 2023-12-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
@@ -167,6 +168,7 @@ dependencies:
167
168
  description:
168
169
  email:
169
170
  - f@sutty.nl
171
+ - e@sutty.nl
170
172
  executables: []
171
173
  extensions: []
172
174
  extra_rdoc_files: