editorial-autogestiva-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/_includes/editorial.html +54 -0
- data/_includes/footer.html +2 -1
- data/_includes/navbar.html +2 -0
- data/_layouts/default.html +2 -2
- data/_layouts/editorial.html +2 -52
- data/_layouts/home.html +0 -8
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f53efdcc0087a49916be53d104781f7e7703c8b4f2250c9ed6ab973bd3ef5f7
|
4
|
+
data.tar.gz: a935bcee18f44ac82fda3ae726da62dc1f411db249d3e3df47dccf59c2e75e20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d2698915282143b417e074abb0cb66f82950190f974c811fb927c57f27eae897b9f575fb61955e6693f5faa830f559efde844dbce03f751a207e414cf15e7df
|
7
|
+
data.tar.gz: 8afe32ed4f79fee17d912ea994bd0fe67fc246a5658a414a9d48b449b43d630f908f444e6a5fb7bbde2b2c4ec6d845e59f94eeead24d5a2bb71c96b7661749ac
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<article id="editorial" class="col h-card" itemscope itemtype="https://schema.org/Organization">
|
2
|
+
<div class="media">
|
3
|
+
<img
|
4
|
+
itemprop="logo"
|
5
|
+
class="u-photo"
|
6
|
+
src="{{ include.editorial.logo.path | thumbnail: 100 }}"
|
7
|
+
alt="{{ include.editorial.logo.description }}" />
|
8
|
+
|
9
|
+
<div class="media-body">
|
10
|
+
<h1 class="p-name" itemprop="name">{{ include.editorial.title }}</h1>
|
11
|
+
<p class="lead">{{ include.editorial.description }}</p>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress">
|
17
|
+
{%- if include.editorial.address -%}
|
18
|
+
<p class="p-street-address" itemprop="streetAddress">{{ include.editorial.address }}</p>
|
19
|
+
{%- endif -%}
|
20
|
+
{%- if include.editorial.locality -%}
|
21
|
+
<p class="p-locality" itemprop="addressLocality">{{ include.editorial.locality }}</p>
|
22
|
+
{%- endif -%}
|
23
|
+
{%- if include.editorial.country -%}
|
24
|
+
<p class="p-country-name" itemprop="addressCountry">{{ include.editorial.country }}</p>
|
25
|
+
{%- endif -%}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<ul>
|
29
|
+
{%- for social in include.editorial.social_networks -%}
|
30
|
+
<li><a rel="me" href="{{ social }}">
|
31
|
+
{% comment %}
|
32
|
+
|
33
|
+
Obtenemos la URL de la red social, eliminamos la www,
|
34
|
+
obtenemos el tercer elemento separando por / y el primero
|
35
|
+
separando por .
|
36
|
+
|
37
|
+
https://www.twitter.com/SuttyWeb
|
38
|
+
https://twitter.com/SuttyWeb
|
39
|
+
twitter.com
|
40
|
+
twitter
|
41
|
+
Twitter
|
42
|
+
{% endcomment %}
|
43
|
+
{% assign s = social | remove: 'www.' | split: '/' %}
|
44
|
+
{{ s[2] | split: '.' | first | capitalize }}
|
45
|
+
</a></li>
|
46
|
+
{%- endfor -%}
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
{%- if include.content -%}
|
50
|
+
<div class="e-content" itemprop="articleBody">
|
51
|
+
{{ include.editorial.content }}
|
52
|
+
</div>
|
53
|
+
{%- endif -%}
|
54
|
+
</article>
|
data/_includes/footer.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<footer>
|
2
2
|
<div class="row align-items-end">
|
3
3
|
{%- if include.footer -%}
|
4
|
-
{%
|
4
|
+
{% assign editorial = site.posts | where: 'layout', 'editorial' | first %}
|
5
|
+
{% include_cached editorial.html editorial=editorial %}
|
5
6
|
{%- endif -%}
|
6
7
|
|
7
8
|
<div class="col text-right">
|
data/_includes/navbar.html
CHANGED
data/_layouts/default.html
CHANGED
data/_layouts/editorial.html
CHANGED
@@ -1,56 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
|
+
footer: false
|
3
4
|
---
|
4
5
|
|
5
|
-
|
6
|
-
<div class="media">
|
7
|
-
<img
|
8
|
-
itemprop="logo"
|
9
|
-
class="u-photo"
|
10
|
-
src="{{ page.logo.path | thumbnail: 100 }}"
|
11
|
-
alt="{{ page.logo.description }}" />
|
12
|
-
|
13
|
-
<div class="media-body">
|
14
|
-
<h1 class="p-name" itemprop="name">{{ page.title }}</h1>
|
15
|
-
<p class="lead">{{ page.description }}</p>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress">
|
21
|
-
{%- if page.address -%}
|
22
|
-
<p class="p-street-address" itemprop="streetAddress">{{ page.address }}</p>
|
23
|
-
{%- endif -%}
|
24
|
-
{%- if page.locality -%}
|
25
|
-
<p class="p-locality" itemprop="addressLocality">{{ page.locality }}</p>
|
26
|
-
{%- endif -%}
|
27
|
-
{%- if page.country -%}
|
28
|
-
<p class="p-country-name" itemprop="addressCountry">{{ page.country }}</p>
|
29
|
-
{%- endif -%}
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<ul>
|
33
|
-
{%- for social in page.social_networks -%}
|
34
|
-
<li><a rel="me" href="{{ social }}">
|
35
|
-
{% comment %}
|
36
|
-
|
37
|
-
Obtenemos la URL de la red social, eliminamos la www,
|
38
|
-
obtenemos el tercer elemento separando por / y el primero
|
39
|
-
separando por .
|
40
|
-
|
41
|
-
https://www.twitter.com/SuttyWeb
|
42
|
-
https://twitter.com/SuttyWeb
|
43
|
-
twitter.com
|
44
|
-
twitter
|
45
|
-
Twitter
|
46
|
-
{% endcomment %}
|
47
|
-
{% assign s = social | remove: 'www.' | split: '/' %}
|
48
|
-
{{ s[2] | split: '.' | first | capitalize }}
|
49
|
-
</a></li>
|
50
|
-
{%- endfor -%}
|
51
|
-
</ul>
|
52
|
-
|
53
|
-
<div class="e-content" itemprop="articleBody">
|
54
|
-
{{ page.content }}
|
55
|
-
</div>
|
56
|
-
</article>
|
6
|
+
{% include editorial.html editorial=page content=true %}
|
data/_layouts/home.html
CHANGED
@@ -15,14 +15,6 @@ layout: default
|
|
15
15
|
|
16
16
|
<h2>{{ book.title }}</h2>
|
17
17
|
<p>{{ book.author | join: ', ' }}</p>
|
18
|
-
|
19
|
-
{%- if book.payment_url -%}
|
20
|
-
<a
|
21
|
-
href="{{ book.payment_url }}"
|
22
|
-
class="btn btn-success btn-block">
|
23
|
-
{{ site.i18n.book.payment_url }}
|
24
|
-
</a>
|
25
|
-
{%- endif %}
|
26
18
|
</div>
|
27
19
|
</a>
|
28
20
|
{%- endfor %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: editorial-autogestiva-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -180,6 +180,7 @@ files:
|
|
180
180
|
- _data/layouts/editorial.yml
|
181
181
|
- _data/layouts/post.yml
|
182
182
|
- _includes/contact.html
|
183
|
+
- _includes/editorial.html
|
183
184
|
- _includes/footer.html
|
184
185
|
- _includes/navbar.html
|
185
186
|
- _layouts/book.html
|