compost-jekyll-theme 0.4.4 → 0.4.6

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: 678c981b17fe45f350fb44532e43eee682ec25608a83a394940770ff7f946a15
4
- data.tar.gz: a7d04b6efa1c6c53bca60c7e61e2b69ce2ad3902f0843330f0d9eed2b1ecba49
3
+ metadata.gz: a8acc2b3cd4e5b136383eaee5194ec40e29f6297392a2b3cd3fccc0d2e82797b
4
+ data.tar.gz: c7ac01471f8ccc88e2ed9ad74c9a370b6ec78d5a65142643055ebb0fdd92397f
5
5
  SHA512:
6
- metadata.gz: 6b5209cbd8af35cf2665e5c07857c25305683733c6363843e9c347d8fe85cfa5e8f7f1111ff6dac98f651d05485a446ca87a8fb102a22b5ce9d40c92d6ec1003
7
- data.tar.gz: 56987362eaf7ec946f34d3520b103cc54e6b2ebaaa6bd5b6114ea59850140fc9717d60df527944f5c95fb27a067d43d8bca7dc5ad472e59216d1ab8fc09f28f2
6
+ metadata.gz: 3b1cc2791a3b4529c3f8d90f858405197ce568bc1828dee5c43b12fb43982092dd382955fc185ca6c986d7a90946881572ccaccf862d5d77d64754e9f016664b
7
+ data.tar.gz: 2bf70211bddd13c3611407ce59e0d57cd4e5bdf34955d1d0419f83c53de33c40d6a2ba5cc94d6e3a13a61726456debba770d9958aa9f1c5ce1e246d66858f1f6
@@ -15,8 +15,21 @@ description:
15
15
  help:
16
16
  en: ""
17
17
  es: ""
18
+ value_now:
19
+ type: "float"
20
+ required: true
21
+ label:
22
+ en: "The current amount for this goal"
23
+ es: "Monto actual del objetivo"
24
+ help:
25
+ en: ""
26
+ es: ""
27
+ default:
28
+ en: 0
29
+ es: 0
18
30
  value_max:
19
31
  type: "float"
32
+ required: true
20
33
  label:
21
34
  en: "The maximum amount for this goal"
22
35
  es: "Monto máximo del objetivo"
@@ -25,6 +25,40 @@ description:
25
25
  engines. If the post is about violence and other sensitive
26
26
  topics, we invite you to use it as a content warning, so others
27
27
  can decide when they want to read it.
28
+ image_menu_close:
29
+ type: "image"
30
+ required: true
31
+ path:
32
+ label:
33
+ es: "Logo de apóyanos con el menú cerrado"
34
+ en: "Support us logo with menu closed"
35
+ help:
36
+ es: "Máximo 220px de ancho y 90px de alto"
37
+ en: "Max. 220px width by 90px height"
38
+ description:
39
+ label:
40
+ es: "Descripción del logo"
41
+ en: "Logo description"
42
+ help:
43
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
44
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
45
+ image_menu_open:
46
+ type: "image"
47
+ required: true
48
+ path:
49
+ label:
50
+ es: "Logo de apóynaos con menú abierto"
51
+ en: "Support us logo with menu opened"
52
+ help:
53
+ es: ""
54
+ en: ""
55
+ description:
56
+ label:
57
+ es: "Descripción del logo"
58
+ en: "Logo description"
59
+ help:
60
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
61
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
28
62
  section_1:
29
63
  type: "new_html"
30
64
  label:
@@ -8,7 +8,9 @@
8
8
  <div class="d-flex flex-row justify-content-center align-items-center">
9
9
  <div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
10
10
 
11
- {% include picture.html src=include.src alt=include.alt width=150 %}
11
+ {% if include.src %}
12
+ {% include picture.html src=include.src alt=include.alt width=150 %}
13
+ {% endif %}
12
14
 
13
15
  <div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
14
16
  </div>
@@ -17,6 +17,7 @@
17
17
  img_class="max-w-100 max-h-90px"
18
18
  %}
19
19
 
20
+ {% if include.btn_href %}
20
21
  {%
21
22
  include btn_header.html
22
23
  src=include.btn_src
@@ -25,3 +26,6 @@
25
26
  height=90
26
27
  img_class="max-h-90px"
27
28
  %}
29
+ {% else %}
30
+ <div></div>
31
+ {% endif %}
@@ -60,9 +60,11 @@
60
60
  </div>
61
61
  {% endfor %}
62
62
 
63
- <div class="col pb-5">
64
- {% include cover_post/menu.html title=back_cover.title src=back_cover.image.path alt=back_cover.image.description href=back_cover.url %}
65
- </div>
63
+ {% if back_cover %}
64
+ <div class="col pb-5">
65
+ {% include cover_post/menu.html title=back_cover.title src=back_cover.image.path alt=back_cover.image.description href=back_cover.url %}
66
+ </div>
67
+ {% endif %}
66
68
  </div>
67
69
  </div>
68
70
 
@@ -10,10 +10,10 @@ layout: "default"
10
10
  include header_toggler.html
11
11
  logo_open_src=about.image_menu_open.path
12
12
  logo_open_alt=about.image_menu_open.description
13
- btn_open_src="public/mushroom_open.gif"
13
+ btn_open_src=support.image_menu_open.path
14
14
  logo_close_src=about.image_menu_close.path
15
15
  logo_close_alt=about.image_menu_close.description
16
- btn_close_src="public/mushroom_close.gif"
16
+ btn_close_src=support.image_menu_close.path
17
17
  btn_href=support.url
18
18
  btn_alt=site.i18n.support_alt
19
19
  background_class="pt-3 px-2 pb-100 background-image-menu-close background-position-center-bottom w-100 background-size-auto-100"
data/_layouts/home.html CHANGED
@@ -15,9 +15,8 @@ layout: "default_with_menu"
15
15
  subtitle=front_cover.subtitle
16
16
  content=front_cover.content
17
17
  %}
18
- {% if theme.divider_image.path %}
19
- {% include divider.html src=theme.divider_image.path alt=site.i18n.divider %}
20
- {% endif %}
18
+
19
+ {% include divider.html src=theme.divider_image.path alt=site.i18n.divider %}
21
20
 
22
21
  <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 container-lg mx-auto">
23
22
  {% for post in posts %}
@@ -34,8 +33,10 @@ layout: "default_with_menu"
34
33
  </div>
35
34
  {% endfor %}
36
35
 
37
- <div class="col pb-5 px-2">
38
- {% include 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>
36
+ {%- if back_cover -%}
37
+ <div class="col pb-5 px-2">
38
+ {% include 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 -%}
40
41
  </article>
41
42
  </div>
@@ -39,7 +39,7 @@ layout: "default_with_menu"
39
39
 
40
40
  <div class="my-4">
41
41
  {% for goal in goals %}
42
- {% include goal.html title=goal.title text=goal.description value_now=1000 value_max=goal.value_max currency=goal.currency %}
42
+ {% include goal.html title=goal.title text=goal.description value_now=goal.value_now value_max=goal.value_max currency=goal.currency %}
43
43
  {% endfor %}
44
44
  </div>
45
45
 
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.4.4
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-02 00:00:00.000000000 Z
11
+ date: 2025-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll