compost-jekyll-theme 0.3.7 → 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.
@@ -105,8 +105,16 @@ license:
105
105
  es: "Título de la licencia"
106
106
  en: "License title"
107
107
  help:
108
- es: "Publicar el artículo bajo esta licencia"
109
- en: "Release post under this license"
108
+ es: "Publicar el artículo bajo esta licencia. Dejar vacío para para ocultar la licencia en este artículo."
109
+ en: "Release post under this license. Leave empty to hide licensing terms for this article."
110
+ license_content:
111
+ type: "new_html"
112
+ label:
113
+ es: "Licencia"
114
+ en: "License"
115
+ help:
116
+ es: "Dejalo vacío para usar la licencia general desde el Acerca."
117
+ en: "Leave empty to use the general licensing terms from About."
110
118
  locales:
111
119
  type: "locales"
112
120
  label:
@@ -115,6 +123,20 @@ locales:
115
123
  help:
116
124
  es: "Vínculo al mismo artículo en otros idiomas"
117
125
  en: "Link to same post in other languages"
126
+ permalink:
127
+ type: 'permalink'
128
+ label:
129
+ es: 'Enlace'
130
+ en: 'Permalink'
131
+ help:
132
+ es: |
133
+ Si no quieres utilizar el formato de enlaces general del sitio
134
+ para este artículo, especifica uno aquí. Usa "/" para cambiar la
135
+ portada del sitio, o dejalo vacío para auto-generar la dirección.
136
+ en: |
137
+ If you don't want to follow the site's link format for this post,
138
+ change it here. Use "/" to set this page as the home page, or
139
+ leave empty to auto-generate it.
118
140
  draft:
119
141
  type: "boolean"
120
142
  label:
@@ -1,13 +1,12 @@
1
1
  {%- comment -%}
2
+ componente de imagen que tiene un link [url]
2
3
 
3
- componente de imagen que tiene un link [url]
4
-
5
- @param :src [String]
6
- @param :href [String] El link
7
- @param :width [Integer] Ancho de la imagen
8
- @param :alt [String] El alt de la imagen
4
+ @param :src [String]
5
+ @param :href [String] El link
6
+ @param :width [Integer] Ancho de la imagen
7
+ @param :alt [String] El alt de la imagen
9
8
  {%- endcomment -%}
10
9
 
11
10
  <div class="p-2">
12
- {% include image_with_link.html src=include.src width=include.width alt=include.alt img_class="w-100 h-100 object-fit-cover" href=include.href %}
11
+ {% include image_with_link.html src=include.src width=include.width alt=include.alt img_class="w-100 h-100 object-fit-cover" href=include.href %}
13
12
  </div>
data/_layouts/post.html CHANGED
@@ -57,7 +57,9 @@ layout: "default_with_menu"
57
57
  {% endunless %}
58
58
 
59
59
  {% if page.license %}
60
- {% include license_block.html title=page.license content=about.license %}
60
+ {% assign license_content = page.license_content | default: about.license %}
61
+
62
+ {% include license_block.html title=page.license content=license_content %}
61
63
  {% endif %}
62
64
 
63
65
  {% if page.activity %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compost-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-11 00:00:00.000000000 Z
11
+ date: 2025-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -307,6 +307,14 @@ files:
307
307
  - _data/components.yml
308
308
  - _data/en.yml
309
309
  - _data/es.yml
310
+ - _data/fixtures/activity_pub/activities/sutty.yml
311
+ - _data/fixtures/activity_pub/likes.yml
312
+ - _data/fixtures/activity_pub/replies.yml
313
+ - _data/fixtures/activity_pub/shared.yml
314
+ - _data/fixtures/activity_pub/users/cibor_yogui.yml
315
+ - _data/fixtures/activity_pub/users/edumerco.yml
316
+ - _data/fixtures/activity_pub/users/f.yml
317
+ - _data/fixtures/activity_pub/users/sutty.yml
310
318
  - _data/full_width_components.yml
311
319
  - _data/layouts/about.yml
312
320
  - _data/layouts/author.yml