radios-comunitarias-jekyll-theme 0.3.1 → 0.3.2

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: 7f2cd13d019f001ae0e374740abacc16bcb36726808f51331ea780a073342c53
4
- data.tar.gz: ae67dab2c313229d8a91138fda5bef4d6f4d4fc8ee1fdf55cb1614684af37002
3
+ metadata.gz: e731ddb562a5d8654ff497bf1be19bfc3275592ebf588ef1bfe63b5ec3de1bed
4
+ data.tar.gz: 73d1aa6935390b8772fd8ea0d9712fb882ff2e81f01b0fb4fb875eaea0ae9d31
5
5
  SHA512:
6
- metadata.gz: c40d6e8a9457619e7aa02cf40ac2b954825223e27a46a0c90bfd7bc6ded9d3716ea0b979b8c78c2a43261d15961ac33956ac689082452dbc713e443bcf474e7a
7
- data.tar.gz: 79697cc8bd6ec73655cada785b0fc50a817a28bf65be7930075b0d0103d6bfdcce01c75ae5757a734e1379c6c8758bb34cb47bb915a656a2880877bdc191eeaa
6
+ metadata.gz: 1601966de12bf8af1e4130d243b7a428e3d257ed8560bd8e9940e7a600e463a4f3ed4d9663f1054ee868c5ff47df07edc781916dec6eff72e2a36215d566c189
7
+ data.tar.gz: 4c8f51fb4b879bfae6f9bccb01c2352daebff6063de0e1099c9ed752264958c7584079dc61da5ad7cbc9478ba1becadfcf3e10a6f8b28c9373013fbe704914a1
checksums.yaml.gz.sig CHANGED
Binary file
data/_data/en.yml CHANGED
@@ -206,3 +206,5 @@ globe: "Public"
206
206
  activities:
207
207
  Announce: "Boost"
208
208
  Like: "Fave"
209
+ home:
210
+ nothing_yet: "Nothing has been published yet."
data/_data/es.yml CHANGED
@@ -207,3 +207,5 @@ globe: "Público"
207
207
  activities:
208
208
  Announce: "Impulso"
209
209
  Like: "Favorito"
210
+ home:
211
+ nothing_yet: "Todavía no hay nada publicado."
@@ -6,7 +6,7 @@
6
6
  Le indicamos al navegador que no empiece a cargar hasta que le damos
7
7
  play porque sino vamos a escuchar la radio con retraso.
8
8
  {% endcomment %}
9
- {% unless radio.streams == empty %}
9
+ {% unless radio.streams == nil or radio.streams == empty %}
10
10
  <div
11
11
  data-controller="streaming"
12
12
  data-action="window@online->streaming#restartIfPlaying"
data/_layouts/home.html CHANGED
@@ -10,24 +10,30 @@ layout: default
10
10
  {%- assign posts = site.posts | where: 'layout', 'post' -%}
11
11
  {%- assign post = posts | first -%}
12
12
 
13
- {% include_cached post.html page=post %}
13
+ {% if post %}
14
+ {% include_cached post.html page=post %}
15
+ {% else %}
16
+ <p>{{ site.i18n.home.nothing_yet }}</p>
17
+ {% endif %}
14
18
 
15
- <footer class="mt-5">
16
- <div class="row no-gutters">
17
- <div class="col-12 col-md-6">
18
- <h2>{{ site.i18n.other_posts }}</h2>
19
- <div class="mt-3">
20
- {% for post in posts offset: 1 %}
21
- <article class="content mb-5">
22
- <h3>
23
- <a href="{{ post.url }}">{{ post.title }}</a>
24
- </h3>
19
+ {% if posts.size > 1 %}
20
+ <footer class="mt-5">
21
+ <div class="row no-gutters">
22
+ <div class="col-12 col-md-6">
23
+ <h2>{{ site.i18n.other_posts }}</h2>
24
+ <div class="mt-3">
25
+ {% for post in posts offset: 1 %}
26
+ <article class="content mb-5">
27
+ <h3>
28
+ <a href="{{ post.url }}">{{ post.title }}</a>
29
+ </h3>
25
30
 
26
- <p class="lead">{{ post.description }}</p>
27
- </article>
28
- {% endfor %}
31
+ <p class="lead">{{ post.description }}</p>
32
+ </article>
33
+ {% endfor %}
34
+ </div>
29
35
  </div>
30
36
  </div>
31
- </div>
32
- </footer>
37
+ </footer>
38
+ {% endif %}
33
39
  </section>
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radios-comunitarias-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
metadata.gz.sig CHANGED
Binary file