radios-comunitarias-jekyll-theme 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/en.yml +30 -6
- data/_data/es.yml +1 -0
- data/_data/layouts/post.yml +8 -0
- data/_data/layouts/radio.yml +8 -0
- data/_includes/footer.html +17 -15
- data/_includes/navbar.html +1 -1
- data/_layouts/default.html +17 -0
- data/assets/js/script.js +2 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a9aed2d78ae61090965d804a47ea0ce07eb0fd3c8510c776f856d45cae41db8
|
4
|
+
data.tar.gz: 8df37c35e78e689e0a88b87a7f466ddfb02bef646af90d350cfd2a3e599b24a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87c05406243fce5c9db30c01003987620dbfed479c508b2a55a0086ca2beb66ed29d48987e5ded0598431b705ac80c53b9827c78e9a115300e30f51e0c6d0474
|
7
|
+
data.tar.gz: 5249d7170531139d34e347cf0f039f1f1550d0ae376edee93767a64c1e615c44e67ca884513ad662393ad8f7b254fcfc0d43ee25e6acf125ff574401f73b776c
|
data/_data/en.yml
CHANGED
@@ -3,11 +3,35 @@ locale: English
|
|
3
3
|
date: '%m/%d/%Y'
|
4
4
|
layouts:
|
5
5
|
post: Article
|
6
|
+
radio: Radio
|
7
|
+
no_audio_support: "Your browser doesn't support audio, please copy this address:"
|
8
|
+
other_posts: "Previous Articles"
|
9
|
+
footer:
|
10
|
+
credits: "Made with [Sutty](https://sutty.nl/), design by [librenauta](https://copiona.com/)"
|
6
11
|
menu:
|
7
|
-
title:
|
12
|
+
title: Social networks
|
8
13
|
items:
|
9
|
-
-
|
10
|
-
|
14
|
+
- text: Fediverse
|
15
|
+
type: fediverse
|
16
|
+
icon: mastodon-alt
|
17
|
+
- type: facebook
|
18
|
+
icon: facebook-official
|
19
|
+
text: Facebook
|
20
|
+
- type: twitter
|
21
|
+
icon: twitter
|
22
|
+
text: Twitter
|
23
|
+
- type: instagram
|
24
|
+
icon: instagram
|
25
|
+
text: Instagram
|
26
|
+
- type: internet_archive
|
27
|
+
icon: archive-org
|
28
|
+
text: Internet Archive
|
29
|
+
- type: youtube
|
30
|
+
icon: youtube-square
|
31
|
+
text: YouTube
|
32
|
+
- type: email
|
33
|
+
icon: envelope
|
34
|
+
text: E-mail
|
11
35
|
share:
|
12
36
|
text: Share
|
13
37
|
icon: share-alt
|
@@ -19,7 +43,7 @@ share:
|
|
19
43
|
url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
|
20
44
|
icon: facebook-official
|
21
45
|
- title: Twitter
|
22
|
-
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags
|
46
|
+
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%hashtag"
|
23
47
|
icon: twitter
|
24
48
|
- title: Whatsapp
|
25
49
|
url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
|
@@ -28,10 +52,10 @@ share:
|
|
28
52
|
url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
|
29
53
|
icon: telegram
|
30
54
|
- title: Tumblr
|
31
|
-
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags
|
55
|
+
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%hashtag"
|
32
56
|
icon: tumblr
|
33
57
|
- title: Reddit
|
34
|
-
url: "https://reddit.com/submit?url=%url&title
|
58
|
+
url: "https://reddit.com/submit?url=%url&title=%hashtag%20-%20%title"
|
35
59
|
icon: reddit
|
36
60
|
- title: E-mail
|
37
61
|
url: "mailto:?subject=%title&body=%description%0A%0A%url"
|
data/_data/es.yml
CHANGED
data/_data/layouts/post.yml
CHANGED
@@ -94,6 +94,14 @@ tags:
|
|
94
94
|
help:
|
95
95
|
es: 'Usa etiquetas para resaltar palabras clave'
|
96
96
|
en: 'Tags are helpful as keywords'
|
97
|
+
locales:
|
98
|
+
type: 'locales'
|
99
|
+
label:
|
100
|
+
es: 'Traducciones'
|
101
|
+
en: 'Translations'
|
102
|
+
help:
|
103
|
+
es: 'Vínculo a los artículos en otros idiomas'
|
104
|
+
en: 'Link to the post in other languages'
|
97
105
|
draft:
|
98
106
|
type: 'boolean'
|
99
107
|
label:
|
data/_data/layouts/radio.yml
CHANGED
@@ -147,6 +147,14 @@ social_foreground_color:
|
|
147
147
|
help:
|
148
148
|
es: ''
|
149
149
|
en: ''
|
150
|
+
locales:
|
151
|
+
type: 'locales'
|
152
|
+
label:
|
153
|
+
es: 'Traducciones'
|
154
|
+
en: 'Translations'
|
155
|
+
help:
|
156
|
+
es: 'Vínculo a los artículos en otros idiomas'
|
157
|
+
en: 'Link to the post in other languages'
|
150
158
|
draft:
|
151
159
|
type: 'boolean'
|
152
160
|
label:
|
data/_includes/footer.html
CHANGED
@@ -4,22 +4,24 @@
|
|
4
4
|
{% comment %}
|
5
5
|
Acá sale una mejora adhoc de la referencia
|
6
6
|
{% endcomment %}
|
7
|
-
<div class="
|
8
|
-
<
|
9
|
-
<
|
10
|
-
{{ radio.
|
11
|
-
|
12
|
-
|
7
|
+
<div class="row no-gutters justify-content-center text-center text-md-left">
|
8
|
+
<div class="col-10">
|
9
|
+
<p class="m-0 font-weight-bold">
|
10
|
+
<a href="{{ radio.url }}">
|
11
|
+
{{ radio.title }}
|
12
|
+
</a>
|
13
|
+
</p>
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
{%- for social in site.i18n.menu.items -%}
|
16
|
+
{%- unless radio[social.type] -%}{% continue %}{%- endunless -%}
|
17
|
+
<a
|
18
|
+
rel="me"
|
19
|
+
target="_blank" href="{% if social.type == 'email' %}mailto:{% endif %}{{ radio[social.type] }}">
|
20
|
+
<i class="fa fa-fw fa-x2 fa-{{ social.icon }}"></i>
|
21
|
+
<span class="sr-only">{{ social.text }}</span>
|
22
|
+
</a>
|
23
|
+
{%- endfor -%}
|
24
|
+
</div>
|
23
25
|
</div>
|
24
26
|
|
25
27
|
<div class="text-center">
|
data/_includes/navbar.html
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
<a
|
67
67
|
rel="me"
|
68
68
|
class="nav-link social-theme"
|
69
|
-
target="_blank" href="{{ radio[social.type] }}">
|
69
|
+
target="_blank" href="{% if social.type == 'email' %}mailto:{% endif %}{{ radio[social.type] }}">
|
70
70
|
<i class="fa fa-fw fa-x2 fa-{{ social.icon }}"></i>
|
71
71
|
<span class="sr-only">{{ social.text }}</span>
|
72
72
|
</a>
|
data/_layouts/default.html
CHANGED
@@ -13,6 +13,23 @@
|
|
13
13
|
|
14
14
|
{% seo %}
|
15
15
|
{% feed_meta %}
|
16
|
+
|
17
|
+
{%- if page.locales -%}
|
18
|
+
{% for locale in page.locales %}
|
19
|
+
<link
|
20
|
+
rel="alternate"
|
21
|
+
hreflang="{{ locale.collection }}"
|
22
|
+
href="{{ site.url }}{{ locale.collection }}/{{ locale.url }}" />
|
23
|
+
{% endfor %}
|
24
|
+
{%- else -%}
|
25
|
+
{% for locale in site.locales %}
|
26
|
+
{% if locale == site.locale %}{% continue %}{% endif %}
|
27
|
+
<link
|
28
|
+
rel="alternate"
|
29
|
+
hreflang="{{ locale }}"
|
30
|
+
href="{{ site.url }}{{ locale }}/" />
|
31
|
+
{% endfor %}
|
32
|
+
{%- endif -%}
|
16
33
|
</head>
|
17
34
|
{% comment %}
|
18
35
|
El sitio es una columna grande y el pie está siempre al final, para
|
data/assets/js/script.js
CHANGED
@@ -47,4 +47,6 @@ document.addEventListener('turbolinks:load', () => {
|
|
47
47
|
// Volver a reproducir cuando se corte
|
48
48
|
// TODO: Agregar los tracks
|
49
49
|
transmission.addEventListener('ended', event => streaming(transmission))
|
50
|
+
|
51
|
+
document.querySelectorAll("a[href^='http://'],a[href^='https://'],a[href^='//']").forEach(a => a.target = "_blank")
|
50
52
|
})
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: jekyll
|
@@ -139,6 +139,20 @@ dependencies:
|
|
139
139
|
- - "~>"
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: jekyll-linked-posts
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
type: :runtime
|
150
|
+
prerelease: false
|
151
|
+
version_requirements: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
142
156
|
- !ruby/object:Gem::Dependency
|
143
157
|
name: bundler
|
144
158
|
requirement: !ruby/object:Gem::Requirement
|