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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/home.html +27 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f3144932dcf1dfb0c9b3ca0c497bfaca4fb42d4e9e32df1849abd310d266fa6
4
- data.tar.gz: f08b8dfb5b6b85a69ea1da4bc3d9f0a512f2d49b61815198738d93d7254862df
3
+ metadata.gz: b41a480a2156a55fe9f6838799e0b746f45c6d126f33d30b434b140c8dcdeca3
4
+ data.tar.gz: 523510c58c16749d712e1ba380767ab356e9db2fd88ed0fe3c33a845eb0f6d4e
5
5
  SHA512:
6
- metadata.gz: ed4b7c4f54ebeda43841c26718a1808704a6044d854cae69b1cfaac87cd3faf3f0e5cb43f57d3e7ecb9729c3da00fddb57c983b8fcd61b83811368b53cd0b445
7
- data.tar.gz: 7a1c0f172bc757ae748e09322920a7e30b52763b0812e76c4b9fdf38921b83e42c0ad50c2a5ae93240f5e23900d19dee05792e402558b6e9af595915cf8eb3ba
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>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adhesiones-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - f