radios-comunitarias-jekyll-theme 0.3.1 → 0.3.3

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: 9c4bf5067624a1a7ec457f22beb952634de61be658ff1525b3602bcc2eb0b2d7
4
+ data.tar.gz: 6c7fc92e7006074676bc5e939a77defcbcba0e03f6aac79de60998ef73c0f42d
5
5
  SHA512:
6
- metadata.gz: c40d6e8a9457619e7aa02cf40ac2b954825223e27a46a0c90bfd7bc6ded9d3716ea0b979b8c78c2a43261d15961ac33956ac689082452dbc713e443bcf474e7a
7
- data.tar.gz: 79697cc8bd6ec73655cada785b0fc50a817a28bf65be7930075b0d0103d6bfdcce01c75ae5757a734e1379c6c8758bb34cb47bb915a656a2880877bdc191eeaa
6
+ metadata.gz: 628ce60b111fd910976d7dc17de06c0c2b66b9691af672a052b8862f2e24de6ba8d2aad437466eba0b472b20d677e6247fc9f6cd68a573cf98dda5f8657996a4
7
+ data.tar.gz: 3610de57600e0d35c17f87a3c5418aa6702320ef68164cd47df66dcf2d74585e70aaa7dedeb50ba0e3c9fdc7e2331767ba70c17e18b9989a77f3a6c5fdb0ac97
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."
data/_data/schema.yml ADDED
@@ -0,0 +1,9 @@
1
+ ---
2
+ organization:
3
+ post: []
4
+ radio:
5
+ - "code_of_conduct"
6
+ - "license"
7
+ - "privacy_policy"
8
+ theme:
9
+ - "menu"
@@ -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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -306,6 +306,7 @@ files:
306
306
  - _data/layouts/radio.yml
307
307
  - _data/layouts/theme.yml
308
308
  - _data/manifest.json
309
+ - _data/schema.yml
309
310
  - _data/theme.yml
310
311
  - _includes/activity_pub/actor.html
311
312
  - _includes/activity_pub/actor_mention.html
metadata.gz.sig CHANGED
Binary file