adhesiones-jekyll-theme 0.2.4 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f3144932dcf1dfb0c9b3ca0c497bfaca4fb42d4e9e32df1849abd310d266fa6
4
- data.tar.gz: f08b8dfb5b6b85a69ea1da4bc3d9f0a512f2d49b61815198738d93d7254862df
3
+ metadata.gz: 1f372183f4e81cb70a5e40735bf36a36206fdf1070ea0c2647de5998dceafdd6
4
+ data.tar.gz: 0c6bc24cce5e1428e6e215990779600694f70e60eee21c745dafc3596f76ba24
5
5
  SHA512:
6
- metadata.gz: ed4b7c4f54ebeda43841c26718a1808704a6044d854cae69b1cfaac87cd3faf3f0e5cb43f57d3e7ecb9729c3da00fddb57c983b8fcd61b83811368b53cd0b445
7
- data.tar.gz: 7a1c0f172bc757ae748e09322920a7e30b52763b0812e76c4b9fdf38921b83e42c0ad50c2a5ae93240f5e23900d19dee05792e402558b6e9af595915cf8eb3ba
6
+ metadata.gz: 2426cbe5a3ab3a01416ab496307b583a7c3c36ea6de5365bf15c7c55cfdb51edb450619ce9808989a52bd110d822bb9b044e5d6fdf75d229fbaa6ee5f3ebf2e8
7
+ data.tar.gz: c022b7f206cec0241518138edb648324b39f3edfbed34668b086815ae0f4de29de4dd1a20a0219e2e870418d2c41501def7102c1cd73a9a7072e2948ec23737a
data/_includes/share.html CHANGED
@@ -5,7 +5,6 @@
5
5
  {% endunless %}
6
6
  {% assign title = include.title | default: '' | cgi_escape %}
7
7
  {% assign description = include.description | default: '' | cgi_escape %}
8
- {% assign tags = include.tags | join: ',' | default: '' | cgi_escape %}
9
8
 
10
9
  <a
11
10
  {% if include.share.url == '%url' %}
@@ -16,7 +15,7 @@
16
15
  rel="noopener nofollow"
17
16
  title="{{ include.share.title }}"
18
17
  class="d-flex flex-column align-items-center p-3"
19
- href="{{ include.share.url | replace: '%url', url | replace: '%title', title | replace: '%description', description | replace: '%tags', tags }}">
18
+ href="{{ include.share.url | replace: '%url', url | replace: '%title', title | replace: '%description', description }}">
20
19
  <i class="fa fa-fw fa-2x fa-{{ include.share.icon }}"></i>
21
20
  <span>{{ include.share.title }}</span>
22
21
  </a>
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-10-14 00:00:00.000000000 Z
13
+ date: 2023-03-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll
@@ -374,7 +374,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
374
374
  - !ruby/object:Gem::Version
375
375
  version: '0'
376
376
  requirements: []
377
- rubygems_version: 3.3.19
377
+ rubygems_version: 3.3.26
378
378
  signing_key:
379
379
  specification_version: 4
380
380
  summary: Plantilla para juntar adhesiones