adhesiones-jekyll-theme 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/home.html +27 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b41a480a2156a55fe9f6838799e0b746f45c6d126f33d30b434b140c8dcdeca3
|
4
|
+
data.tar.gz: 523510c58c16749d712e1ba380767ab356e9db2fd88ed0fe3c33a845eb0f6d4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37b2cfe7e468b16e295b320d171dc3a6322fb3f31b880190ba5d41defd996388ace3edb623729ae80bd90ac05e370f70ab08d424e64d5866b1e94e9b8de9aa7
|
7
|
+
data.tar.gz: 72451ebe10d5c5a1f462e7977140b1c80d0f872e97e2df8118ecc5f66a02d9f17189387f90b27884f37fc7af69f26522d6d8aa16c8655c338878767b293ef0db
|
data/_layouts/home.html
CHANGED
@@ -163,7 +163,34 @@ layout: default
|
|
163
163
|
</div>
|
164
164
|
</header>
|
165
165
|
|
166
|
+
{%- for adhesion in adhesiones -%}
|
167
|
+
{% assign cleaned_content = adhesion.content | strip_html | strip %}
|
168
|
+
{% if cleaned_content == empty %}{% continue %}{% endif %}
|
169
|
+
<article id="{{ adhesion.uuid }}" class="callout">
|
170
|
+
<header >
|
171
|
+
<h5>
|
172
|
+
{%- if adhesion.web -%}
|
173
|
+
<a href="{{ adhesion.web }}" target="_blank">
|
174
|
+
{{ adhesion.title }}
|
175
|
+
</a>
|
176
|
+
{%- else -%}
|
177
|
+
{{ adhesion.title }}
|
178
|
+
{%- endif -%}
|
179
|
+
</h5>
|
180
|
+
|
181
|
+
|
182
|
+
<time datetime="{{ adhesion.date }}">
|
183
|
+
{{ adhesion.date | date: site.i18n.date.format }}
|
184
|
+
</time>
|
185
|
+
</header>
|
186
|
+
|
187
|
+
{{ adhesion.content }}
|
188
|
+
</article>
|
189
|
+
{%- endfor -%}
|
190
|
+
|
166
191
|
{%- for adhesion in adhesiones_individuales -%}
|
192
|
+
{% assign cleaned_content = adhesion.content | strip_html | strip %}
|
193
|
+
{% if cleaned_content == empty %}{% continue %}{% endif %}
|
167
194
|
<article id="{{ adhesion.uuid }}" class="callout">
|
168
195
|
<header >
|
169
196
|
<h5>
|