compost-jekyll-theme 0.4.16 → 0.4.17

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: f282c4777877d57b08c7552081d09b53b8667a8cc9086ee8630427850ce2b69e
4
- data.tar.gz: ae55e4569cef9d3da6cf963df8703ed77180111410f146d2214bb05d6539b123
3
+ metadata.gz: 339bb1519ea1e27c4cbdd958b88d2db7c9648f9b0c30f8ded8c0a82397781094
4
+ data.tar.gz: 8eee1ef832acabda009337ac6849a69114a74fdd37769aef7bc656a10ed6fcda
5
5
  SHA512:
6
- metadata.gz: 8567e381f66c32376bc258bd5ecdf4e8994ba0e5b87bbc3f6766061350837869712053296ca492ab1f6973fe27016f16205925460b7ccc894a28ee497ceb8f50
7
- data.tar.gz: 681f9f5050f7042d98ba6ff8cbdcb2f797f9649abddea0640d8cf52bfeb9fb5d3aa0f80c3c87359c125582a9627b9afd63061a49a6d44f2045bb3b67b66d8fd1
6
+ metadata.gz: 044e94537323bdc1d3b731189247f750c454b74cede2b8a2c5447a83eec8e3b0e60992106fa94448502ba37c210ba128318b3050fd0bf41aed838edf1d47059b
7
+ data.tar.gz: 805562c6593712bfb8c80ed84c5ce839d6f68305938a803edb65f1fe6d4871cfd97c7b89793ee0f9a6b9cc313612e152fe8eeb759a5dc5efe1e58d6b1e9d8abd
checksums.yaml.gz.sig CHANGED
Binary file
@@ -8,6 +8,15 @@ title:
8
8
  help:
9
9
  en: "The name you want to give to this customization"
10
10
  es: "El nombre que quieras darle a esta personalización"
11
+ posts_limit:
12
+ type: "number"
13
+ required: true
14
+ label:
15
+ es: "Cantidad de artículos en la portada"
16
+ en: "Posts limit on home page"
17
+ default:
18
+ es: 100
19
+ en: 100
11
20
  font_family_sans_serif:
12
21
  type: "predefined_value"
13
22
  label:
@@ -382,6 +391,54 @@ divider_image:
382
391
  help:
383
392
  es: "Separa el contenido del inicio de la lista de artículos. Ancho 150px."
384
393
  en: "Separates home content from article list. 150px wide."
394
+ prev_image:
395
+ type: "image"
396
+ path:
397
+ label:
398
+ es: "Imagen para ir al artículo anterior"
399
+ en: "Previous post image"
400
+ help:
401
+ es: "Flecha o indicador en el pie de cada artículo. Ancho 50px"
402
+ en: "Arrow or indicator at the footer of each post. 50px wide."
403
+ default:
404
+ es:
405
+ path: "public/z0cacqczqtqmnz3vct76gi4goh1y/arrow_previous.png"
406
+ description: "Ir al artículo anterior"
407
+ en:
408
+ path: "public/z0cacqczqtqmnz3vct76gi4goh1y/arrow_previous.png"
409
+ description: "Go to previous post"
410
+ home_image:
411
+ type: "image"
412
+ path:
413
+ label:
414
+ es: "Imagen para volver a la portada"
415
+ en: "Go back home image"
416
+ help:
417
+ es: "Indicador en el pie de cada artículo. Ancho 80px"
418
+ en: "Indicator at the footer of each post. 80px wide."
419
+ default:
420
+ es:
421
+ path: "public/wuq45id5cmkx4wgl465gjmunlobf/home.png"
422
+ description: "Ir a la portada"
423
+ en:
424
+ path: "public/wuq45id5cmkx4wgl465gjmunlobf/home.png"
425
+ description: "Go to home page"
426
+ next_image:
427
+ type: "image"
428
+ path:
429
+ label:
430
+ es: "Imagen para ir al artículo siguiente"
431
+ en: "Next post image"
432
+ help:
433
+ es: "Flecha o indicador en el pie de cada artículo. Ancho 50px"
434
+ en: "Arrow or indicator at the footer of each post. 50px wide."
435
+ default:
436
+ es:
437
+ path: "public/mu35j3nre538wxabdl3ryetc0csv/arrow_next.png"
438
+ description: "Ir al artículo siguiente"
439
+ en:
440
+ path: "public/mu35j3nre538wxabdl3ryetc0csv/arrow_next.png"
441
+ description: "Go to next post"
385
442
  locales:
386
443
  type: "locales"
387
444
  label:
@@ -21,13 +21,13 @@
21
21
  aria-hidden="true"
22
22
  {% endunless %}
23
23
  >
24
- {% include_cached image_with_link.html src=include.src_previous alt=include.alt_previous width=51 href=include.href_previous img_class="px-2" component_class=previous_class %}
24
+ {% include_cached image_with_link.html src=include.src_previous alt=include.alt_previous width=50 href=include.href_previous img_class="px-2" component_class=previous_class %}
25
25
  </div>
26
26
 
27
27
  <div
28
28
  class="transform-scale-n8 transform-scale-hover-1"
29
29
  >
30
- {% include_cached image_with_link.html src=include.src_home alt=site.i18n.home width=79 href=include.href_home img_class="px-2" %}
30
+ {% include_cached image_with_link.html src=include.src_home alt=site.i18n.home width=80 href=include.href_home img_class="px-2" %}
31
31
  </div>
32
32
 
33
33
  <div
@@ -36,6 +36,6 @@
36
36
  aria-hidden="true"
37
37
  {% endunless %}
38
38
  >
39
- {% include_cached image_with_link.html src=include.src_next alt=include.alt_next width=51 href=include.href_next img_class="px-2" component_class=next_class %}
39
+ {% include_cached image_with_link.html src=include.src_next alt=include.alt_next width=50 href=include.href_next img_class="px-2" component_class=next_class %}
40
40
  </div>
41
41
  </div>
@@ -2,6 +2,7 @@
2
2
  layout: "default_with_menu"
3
3
  ---
4
4
  {%- assign authors = site.posts | where: 'layout', 'author' -%}
5
+ {%- assign theme = site.posts | find: 'layout', 'theme' -%}
5
6
  {%- assign back_covers = site.posts | where: 'layout', 'back_cover' -%}
6
7
  {%- assign posts = site.posts | where: 'layout', 'post' | concat: back_covers -%}
7
8
  {%- assign supporters = site.posts | where: 'layout', 'supporter' -%}
@@ -62,6 +63,6 @@ layout: "default_with_menu"
62
63
  </div>
63
64
 
64
65
  <footer class="d-flex flex-column align-items-center pt-5">
65
- {% include_cached navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" src_next="public/arrow_next.png" href_previous=prev.url href_home="?#" href_next=next.url %}
66
+ {% include_cached navigation_post.html src_previous=theme.prev_image.path src_home=theme.home_image.path src_next=theme.next_image.path href_previous=prev.url href_home="?#" href_next=next.url %}
66
67
  </footer>
67
68
  </article>
data/_layouts/home.html CHANGED
@@ -2,9 +2,10 @@
2
2
  layout: "default_with_menu"
3
3
  ---
4
4
  {%- assign theme = site.posts | find: 'layout', 'theme' -%}
5
+ {%- assign posts_limit = theme.posts_limit | default: 100 -%}
5
6
  {%- assign front_cover = site.posts | find: 'layout', 'front_cover' -%}
6
- {%- assign posts = site.posts | where: 'layout', 'post' -%}
7
- {%- assign back_cover = site.posts | find: 'layout', 'back_cover' -%}
7
+ {%- assign back_covers = site.posts | where: 'layout', 'back_cover' -%}
8
+ {%- assign posts = site.posts | where: 'layout', 'post' | concat: back_covers -%}
8
9
 
9
10
  <div class="pt-md-80 px-3">
10
11
  {%
@@ -19,7 +20,7 @@ layout: "default_with_menu"
19
20
  {% include_cached divider.html src=theme.divider_image.path alt=site.i18n.divider %}
20
21
 
21
22
  <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 container-lg mx-auto">
22
- {% for post in posts %}
23
+ {% for post in posts limit: posts_limit %}
23
24
  <div class="col pb-5 px-2">
24
25
  {%
25
26
  include_cached cover_post/home.html
@@ -32,11 +33,5 @@ layout: "default_with_menu"
32
33
  %}
33
34
  </div>
34
35
  {% endfor %}
35
-
36
- {%- if back_cover -%}
37
- <div class="col pb-5 px-2">
38
- {% include_cached cover_post/home.html title=back_cover.title src=back_cover.image.path alt=back_cover.image.description href=back_cover.url description=back_cover.description %}
39
- </div>
40
- {%- endif -%}
41
36
  </article>
42
37
  </div>
data/_layouts/post.html CHANGED
@@ -2,6 +2,7 @@
2
2
  layout: "default_with_menu"
3
3
  ---
4
4
  {%- assign about = site.posts | find: 'layout', 'about' -%}
5
+ {%- assign theme = site.posts | find: 'layout', 'theme' -%}
5
6
  {%- assign back_covers = site.posts | where: 'layout', 'back_cover' -%}
6
7
  {%- assign posts = site.posts | where: 'layout', 'post' | concat: back_covers -%}
7
8
  {%- assign authors = site.posts | where: 'layout', 'author' -%}
@@ -74,6 +75,6 @@ layout: "default_with_menu"
74
75
  {% include_cached activity_pub/interactions.html activity=page.activity profile=site.actor %}
75
76
  {% endif %}
76
77
 
77
- {% include_cached navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" src_next="public/arrow_next.png" href_previous=prev.url href_home="?#" href_next=next.url %}
78
+ {% include_cached navigation_post.html src_previous=theme.prev_image.path src_home=theme.home_image.path src_next=theme.next_image.path href_previous=prev.url href_home="?#" href_next=next.url %}
78
79
  </footer>
79
80
  </article>
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compost-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.16
4
+ version: 0.4.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
@@ -35,7 +35,7 @@ cert_chain:
35
35
  AloSNM24NWhA2fme6cgZOLKXvAKgf6pQsNtAnU1Pliou5GvJ62d8l+pdKGxJ4yTn
36
36
  fVGcO+Lu49Bx33evJ2ixPmQ2OXc=
37
37
  -----END CERTIFICATE-----
38
- date: 2026-10-21 00:00:00.000000000 Z
38
+ date: 2026-11-04 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: jekyll
metadata.gz.sig CHANGED
Binary file