recursero-jekyll-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +168 -0
- data/README.md +113 -0
- data/_data/en.yml +38 -0
- data/_data/es.yml +49 -0
- data/_data/forms/contacto.yml +40 -0
- data/_data/layouts/about.yml +109 -0
- data/_data/layouts/category.yml +106 -0
- data/_data/layouts/page.yml +124 -0
- data/_data/layouts/place.yml +186 -0
- data/_data/layouts/post.yml +124 -0
- data/_includes/boolean.html +30 -0
- data/_includes/burger.svg +1 -0
- data/_includes/contact.html +19 -0
- data/_includes/content.html +1 -0
- data/_includes/email.html +1 -0
- data/_includes/file.html +35 -0
- data/_includes/footer.html +14 -0
- data/_includes/form/boolean.html +1 -0
- data/_includes/form/content.html +1 -0
- data/_includes/form/email.html +1 -0
- data/_includes/form/file.html +1 -0
- data/_includes/form/hidden.html +1 -0
- data/_includes/form/image.html +1 -0
- data/_includes/form/input.html +1 -0
- data/_includes/form/markdown_content.html +1 -0
- data/_includes/form/number.html +1 -0
- data/_includes/form/predefined_array.html +1 -0
- data/_includes/form/section.html +1 -0
- data/_includes/form/separator.html +1 -0
- data/_includes/form/string.html +1 -0
- data/_includes/form/submit.html +1 -0
- data/_includes/form/tel.html +1 -0
- data/_includes/form/text.html +1 -0
- data/_includes/form/url.html +1 -0
- data/_includes/hidden.html +5 -0
- data/_includes/image.html +32 -0
- data/_includes/input.html +33 -0
- data/_includes/logo.svg +5 -0
- data/_includes/markdown_content.html +1 -0
- data/_includes/navbar.html +53 -0
- data/_includes/number.html +1 -0
- data/_includes/predefined_array.html +39 -0
- data/_includes/search.html +15 -0
- data/_includes/section.html +1 -0
- data/_includes/separator.html +1 -0
- data/_includes/share.html +21 -0
- data/_includes/share_box.html +16 -0
- data/_includes/string.html +3 -0
- data/_includes/submit.html +1 -0
- data/_includes/tel.html +1 -0
- data/_includes/text.html +32 -0
- data/_includes/url.html +1 -0
- data/_includes/x.svg +1 -0
- data/_layouts/about.html +71 -0
- data/_layouts/archive.html +21 -0
- data/_layouts/category.html +70 -0
- data/_layouts/default.html +28 -0
- data/_layouts/home.html +23 -0
- data/_layouts/page.html +71 -0
- data/_layouts/place.html +133 -0
- data/_layouts/post.html +84 -0
- data/_sass/accessibility.scss +13 -0
- data/_sass/embed.scss +5 -0
- data/_sass/helpers.scss +54 -0
- data/_sass/navbar.scss +56 -0
- data/_sass/share.html +12 -0
- data/_sass/share_box.html +16 -0
- data/_sass/share_box.scss +26 -0
- data/_sass/toggler.scss +39 -0
- data/assets/css/styles.scss +42 -0
- data/assets/css/styles.scss.orig +45 -0
- data/assets/fonts/forkawesome-webfont.woff2 +0 -0
- data/assets/js/entry.js +8 -0
- data/assets/js/script.js +65 -0
- data/assets/js/script.js.orig +72 -0
- data/assets/js/search.js +3 -0
- data/assets/templates/result.html +9 -0
- metadata +400 -0
data/_includes/url.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{% include input.html field=field %}
|
data/_includes/x.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="30" width="30"><path d="M3.101 27.24L27.348 2.993m-24.247 0L27.348 27.24" fill="none" stroke="#000" stroke-width="2"/></svg>
|
data/_layouts/about.html
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry" itemscope itemtype="http://schema.org/Article">
|
6
|
+
<header>
|
7
|
+
<h1 class="p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
|
9
|
+
{%- if page.description -%}
|
10
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | escape }}</p>
|
11
|
+
{%- endif -%}
|
12
|
+
|
13
|
+
{%- if page.image.path -%}
|
14
|
+
<picture>
|
15
|
+
{% for size in site.images.sizes %}
|
16
|
+
<source srcset="{{ page.image.path | thumbnail: size }}" media="(max-width: {{ size }}px)" />
|
17
|
+
{% endfor %}
|
18
|
+
|
19
|
+
<img class="img-fluid" src="{{ page.image.path | thumbnail: 1140 }}" alt="{{ page.image.description }}" />
|
20
|
+
</picture>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
<p>
|
24
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
25
|
+
{%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
|
26
|
+
{{ page.date | date: date_format }}
|
27
|
+
</time>
|
28
|
+
{%- for author in page.author -%}
|
29
|
+
•
|
30
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
31
|
+
<span class="p-author h-card" itemprop="name">
|
32
|
+
{{ author | escape }}
|
33
|
+
</span>
|
34
|
+
</span>
|
35
|
+
{%- endfor -%}
|
36
|
+
</p>
|
37
|
+
</header>
|
38
|
+
|
39
|
+
<div class="e-content row justify-content-center" itemprop="articleBody">
|
40
|
+
<div class="col col-md-8 col-lg-6">
|
41
|
+
{{ content }}
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<footer>
|
46
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
47
|
+
{{ site.url }}/{{ page.url }}
|
48
|
+
</a>
|
49
|
+
|
50
|
+
{%- if page.uuid -%}
|
51
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
52
|
+
{%- endif -%}
|
53
|
+
|
54
|
+
{%- if page.license.url -%}
|
55
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
56
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
57
|
+
<span itemprop="articleBody">
|
58
|
+
{{ page.license.description }}
|
59
|
+
</span>
|
60
|
+
</a>
|
61
|
+
</p>
|
62
|
+
{%- endif -%}
|
63
|
+
|
64
|
+
{%- if page.tags %}
|
65
|
+
<span itemprop="keywords" hidden>{{ page.tags | join: ', ' }}</span>
|
66
|
+
{%- for tag in page.tags -%}
|
67
|
+
<span hidden class="h-category">{{ tag }}</span>
|
68
|
+
{%- endfor -%}
|
69
|
+
{%- endif -%}
|
70
|
+
</footer>
|
71
|
+
</article>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="row">
|
6
|
+
<header class="col-12">
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="col-12">
|
11
|
+
{% for post in page.posts %}
|
12
|
+
<article class="mb-3">
|
13
|
+
<header>
|
14
|
+
<h2><a class="" href="{{ post.url }}">{{ post.title }}</a></h2>
|
15
|
+
<p class="lead">{{ post.description }}</p>
|
16
|
+
</header>
|
17
|
+
</article>
|
18
|
+
{% endfor %}
|
19
|
+
</div>
|
20
|
+
</section>
|
21
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="row">
|
6
|
+
{%- assign breadcrumbs = page | breadcrumbs: 'category_previous' -%}
|
7
|
+
|
8
|
+
<nav class="col-12" aria-label="{{ site.i18n.breadcrumb }}">
|
9
|
+
<ol class="breadcrumb">
|
10
|
+
{% for crumb in breadcrumbs %}
|
11
|
+
{% if forloop.last %}
|
12
|
+
<li class="breadcrumb-item active" aria-current="page">{{ crumb.title }}</li>
|
13
|
+
{% else %}
|
14
|
+
<li class="breadcrumb-item">
|
15
|
+
<a href="{{ crumb.url }}">{{ crumb.title }}</a>
|
16
|
+
</li>
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
</ol>
|
20
|
+
</nav>
|
21
|
+
|
22
|
+
<header class="col-12">
|
23
|
+
<h1>{{ page.title }}</h1>
|
24
|
+
<p class="lead">{{ page.description }}</p>
|
25
|
+
</header>
|
26
|
+
|
27
|
+
{{ content }}
|
28
|
+
|
29
|
+
<div class="col-12">
|
30
|
+
<div class="row">
|
31
|
+
{% for category in page.categories_next %}
|
32
|
+
<div class="col-12 col-md-6 mb-3">
|
33
|
+
<a
|
34
|
+
class="btn btn-recursero btn-block btn-lg"
|
35
|
+
href="{{ category.url }}">
|
36
|
+
{{ category.title }}
|
37
|
+
</a>
|
38
|
+
</div>
|
39
|
+
{% endfor %}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="col-12">
|
44
|
+
{%- assign about = site.posts | where: 'layout', 'about' -%}
|
45
|
+
{% if page.posts == empty %}
|
46
|
+
{%- for a in about -%}
|
47
|
+
{%- if a.category_empty == empty -%}{%- continue -%}{%- endif -%}
|
48
|
+
|
49
|
+
<div class="alert alert-info">{{ a.category_empty | markdownify }}</div>
|
50
|
+
{%- break -%}
|
51
|
+
{%- endfor -%}
|
52
|
+
{%- else -%}
|
53
|
+
{%- for a in about -%}
|
54
|
+
{%- if a.how_to_help == empty -%}{%- continue -%}{%- endif -%}
|
55
|
+
|
56
|
+
<div class="alert alert-info">{{ a.how_to_help | markdownify }}</div>
|
57
|
+
{%- break -%}
|
58
|
+
{%- endfor -%}
|
59
|
+
|
60
|
+
{% for post in page.posts %}
|
61
|
+
<article class="mb-3">
|
62
|
+
<header>
|
63
|
+
<h2><a class="" href="{{ post.url }}">{{ post.title }}</a></h2>
|
64
|
+
<p class="lead">{{ post.description }}</p>
|
65
|
+
</header>
|
66
|
+
</article>
|
67
|
+
{% endfor %}
|
68
|
+
{%- endif -%}
|
69
|
+
</div>
|
70
|
+
</section>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang }}" dir="{{ site.dir }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<base href="{% base %}" />
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
7
|
+
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
8
|
+
<meta name="theme-color" content="white"/>
|
9
|
+
<meta name="color-scheme" content="light"/>
|
10
|
+
<meta name="referrer" content="strict-origin-when-cross-origin"/>
|
11
|
+
|
12
|
+
<link href="assets/css/styles.css" rel="stylesheet">
|
13
|
+
<script defer type="text/javascript" src="assets/js/script.js"></script>
|
14
|
+
|
15
|
+
{% seo %}
|
16
|
+
{% feed_meta %}
|
17
|
+
</head>
|
18
|
+
<body class="d-flex flex-column justify-content-between d-print-block min-vh-100">
|
19
|
+
{% include navbar.html %}
|
20
|
+
{% include_cached search.html %}
|
21
|
+
|
22
|
+
<main class="flex-grow-1 container-fluid d-flex flex-column justify-content-start">
|
23
|
+
{{ content }}
|
24
|
+
</main>
|
25
|
+
|
26
|
+
{% include_cached footer.html %}
|
27
|
+
</body>
|
28
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% comment %}
|
6
|
+
Mostrar en la portada solo las categorías principales, es decir las
|
7
|
+
que no tienen categorías anteriores.
|
8
|
+
{% endcomment %}
|
9
|
+
{%- assign categories = site.posts | where: 'layout', 'category' | where: 'category_previous', nil -%}
|
10
|
+
|
11
|
+
<section id="{{ site.i18n.categories.id }}">
|
12
|
+
<div class="row justify-content-center">
|
13
|
+
{%- for category in categories -%}
|
14
|
+
<div class="col-12 col-md-6 mb-3">
|
15
|
+
<a
|
16
|
+
class="btn btn-recursero btn-block btn-lg"
|
17
|
+
href="{{ category.url }}">
|
18
|
+
{{ category.title }}
|
19
|
+
</a>
|
20
|
+
</div>
|
21
|
+
{%- endfor -%}
|
22
|
+
</div>
|
23
|
+
</section>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry" itemscope itemtype="http://schema.org/Article">
|
6
|
+
<header>
|
7
|
+
<h1 class="p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
|
9
|
+
{%- if page.description -%}
|
10
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | escape }}</p>
|
11
|
+
{%- endif -%}
|
12
|
+
|
13
|
+
{%- if page.image.path -%}
|
14
|
+
<picture>
|
15
|
+
{% for size in site.images.sizes %}
|
16
|
+
<source srcset="{{ page.image.path | thumbnail: size }}" media="(max-width: {{ size }}px)" />
|
17
|
+
{% endfor %}
|
18
|
+
|
19
|
+
<img class="img-fluid" src="{{ page.image.path | thumbnail: 1140 }}" alt="{{ page.image.description }}" />
|
20
|
+
</picture>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
<p>
|
24
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
25
|
+
{%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
|
26
|
+
{{ page.date | date: date_format }}
|
27
|
+
</time>
|
28
|
+
{%- for author in page.author -%}
|
29
|
+
•
|
30
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
31
|
+
<span class="p-author h-card" itemprop="name">
|
32
|
+
{{ author | escape }}
|
33
|
+
</span>
|
34
|
+
</span>
|
35
|
+
{%- endfor -%}
|
36
|
+
</p>
|
37
|
+
</header>
|
38
|
+
|
39
|
+
<div class="e-content row justify-content-center" itemprop="articleBody">
|
40
|
+
<div class="col col-md-8 col-lg-6">
|
41
|
+
{{ content }}
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<footer>
|
46
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
47
|
+
{{ site.url }}/{{ page.url }}
|
48
|
+
</a>
|
49
|
+
|
50
|
+
{%- if page.uuid -%}
|
51
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
52
|
+
{%- endif -%}
|
53
|
+
|
54
|
+
{%- if page.license.url -%}
|
55
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
56
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
57
|
+
<span itemprop="articleBody">
|
58
|
+
{{ page.license.description }}
|
59
|
+
</span>
|
60
|
+
</a>
|
61
|
+
</p>
|
62
|
+
{%- endif -%}
|
63
|
+
|
64
|
+
{%- if page.tags %}
|
65
|
+
<span itemprop="keywords" hidden>{{ page.tags | join: ', ' }}</span>
|
66
|
+
{%- for tag in page.tags -%}
|
67
|
+
<span hidden class="h-category">{{ tag }}</span>
|
68
|
+
{%- endfor -%}
|
69
|
+
{%- endif -%}
|
70
|
+
</footer>
|
71
|
+
</article>
|
data/_layouts/place.html
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry" itemscope itemtype="http://schema.org/Article">
|
6
|
+
<header>
|
7
|
+
<h1 class="p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
|
9
|
+
{%- if page.description -%}
|
10
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | escape }}</p>
|
11
|
+
{%- endif -%}
|
12
|
+
|
13
|
+
{%- if page.image.path -%}
|
14
|
+
<picture>
|
15
|
+
{% for size in site.images.sizes %}
|
16
|
+
<source srcset="{{ page.image.path | thumbnail: size }}" media="(max-width: {{ size }}px)" />
|
17
|
+
{% endfor %}
|
18
|
+
|
19
|
+
<img class="img-fluid" src="{{ page.image.path | thumbnail: 1140 }}" alt="{{ page.image.description }}" />
|
20
|
+
</picture>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
<p>
|
24
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
25
|
+
{%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
|
26
|
+
{{ page.date | date: date_format }}
|
27
|
+
</time>
|
28
|
+
{%- for author in page.author -%}
|
29
|
+
•
|
30
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
31
|
+
<span class="p-author h-card" itemprop="name">
|
32
|
+
{{ author | escape }}
|
33
|
+
</span>
|
34
|
+
</span>
|
35
|
+
{%- endfor -%}
|
36
|
+
</p>
|
37
|
+
</header>
|
38
|
+
|
39
|
+
<div class="row">
|
40
|
+
<aside class="col-10 col-lg-6">
|
41
|
+
<p class="p-name hidden">{{ page.title }}</p>
|
42
|
+
{% if page.telefonos %}
|
43
|
+
<p>
|
44
|
+
<strong>{{ site.data.layouts.place.telefonos.label[site.lang] }}:</strong>
|
45
|
+
{% for telefono in page.telefonos %}
|
46
|
+
<a href="tel:{{ telefono | split: '(' | first }}" class="p-tel">
|
47
|
+
{{ telefono }}
|
48
|
+
</a>{% unless forloop.last %} / {% endunless %}
|
49
|
+
{% endfor %}
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% if page.direccion %}
|
53
|
+
{% comment %}TODO: Incorporar coordenadas en un link geo:{% endcomment %}
|
54
|
+
<p class="p-location h-adr">
|
55
|
+
<strong>{{ site.data.layouts.place.direccion.label[site.lang] }}:</strong>
|
56
|
+
<span class="p-street-address">
|
57
|
+
{% if page.coordenadas %}
|
58
|
+
<a href="geo:{{ page.coordenadas.lat }},{{ page.coordenadas.lng }}">
|
59
|
+
{{ page.direccion }}
|
60
|
+
</a>
|
61
|
+
{% else %}
|
62
|
+
{{ page.direccion }}
|
63
|
+
{% endif %}
|
64
|
+
</span>
|
65
|
+
</p>
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% if page.transporte_publico %}
|
69
|
+
<p class="transporte-publico">
|
70
|
+
<strong>{{ site.data.layouts.place.transporte_publico.label[site.lang] }}:</strong>
|
71
|
+
|
72
|
+
{{ page.transporte_publico | join: ', ' }}
|
73
|
+
</p>
|
74
|
+
{% endif %}
|
75
|
+
|
76
|
+
{% if page.horarios_de_atencion %}
|
77
|
+
<p>
|
78
|
+
<strong>{{ site.data.layouts.place.horarios_de_atencion.label[site.lang] }}:</strong>
|
79
|
+
{% if page.horarios_de_atencion.size > 1 %}
|
80
|
+
<ul>
|
81
|
+
{% for horario in page.horarios_de_atencion %}
|
82
|
+
<li>{{ horario }}</li>
|
83
|
+
{% endfor %}
|
84
|
+
</ul>
|
85
|
+
{% else %}
|
86
|
+
{{ page.horarios_de_atencion }}
|
87
|
+
{% endif %}
|
88
|
+
</p>
|
89
|
+
{% endif %}
|
90
|
+
|
91
|
+
{% if page.tags %}
|
92
|
+
<p>
|
93
|
+
{% for tag in page.tags %}
|
94
|
+
<a href="etiquetas/{{ tag | slugify }}/" class="btn btn-recursero tag p-category">{{ tag }}</a>
|
95
|
+
{% endfor %}
|
96
|
+
</p>
|
97
|
+
{% endif %}
|
98
|
+
|
99
|
+
</aside>
|
100
|
+
|
101
|
+
<div class="col-10 col-lg-6 e-content" itemprop="articleBody">
|
102
|
+
{{ content }}
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<footer>
|
107
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
108
|
+
{{ site.url }}/{{ page.url }}
|
109
|
+
</a>
|
110
|
+
|
111
|
+
{%- if page.uuid -%}
|
112
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
113
|
+
{%- endif -%}
|
114
|
+
|
115
|
+
{%- if page.license.url -%}
|
116
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
117
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
118
|
+
<span itemprop="articleBody">
|
119
|
+
{{ page.license.description }}
|
120
|
+
</span>
|
121
|
+
</a>
|
122
|
+
</p>
|
123
|
+
{%- endif -%}
|
124
|
+
|
125
|
+
{%- if page.tags %}
|
126
|
+
<span itemprop="keywords" hidden>{{ page.tags | join: ', ' }}</span>
|
127
|
+
{%- for tag in page.tags -%}
|
128
|
+
<span hidden class="h-category">{{ tag }}</span>
|
129
|
+
{%- endfor -%}
|
130
|
+
{%- endif -%}
|
131
|
+
</footer>
|
132
|
+
</article>
|
133
|
+
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry" itemscope itemtype="http://schema.org/Article">
|
6
|
+
<header>
|
7
|
+
<h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
|
8
|
+
|
9
|
+
{%- if page.description -%}
|
10
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
|
11
|
+
{%- endif -%}
|
12
|
+
|
13
|
+
{%- if page.image.path -%}
|
14
|
+
<picture>
|
15
|
+
{% for size in site.images.sizes %}
|
16
|
+
<source srcset="{{ page.image.path | thumbnail: size }}" media="(max-width: {{ size }}px)" />
|
17
|
+
{% endfor %}
|
18
|
+
|
19
|
+
<img class="img-fluid" src="{{ page.image.path | thumbnail: 1140 }}" alt="{{ page.image.description }}" />
|
20
|
+
</picture>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
<p>
|
24
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
25
|
+
{%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
|
26
|
+
{{ page.date | date: date_format }}
|
27
|
+
</time>
|
28
|
+
{%- for author in page.author -%}
|
29
|
+
•
|
30
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
31
|
+
<span class="p-author h-card" itemprop="name">
|
32
|
+
{{ author | default: '' | escape }}
|
33
|
+
</span>
|
34
|
+
</span>
|
35
|
+
{%- endfor -%}
|
36
|
+
</p>
|
37
|
+
</header>
|
38
|
+
|
39
|
+
<div class="row">
|
40
|
+
<aside class="col-10 col-lg-6">
|
41
|
+
<p class="p-name hidden">{{ page.title }}</p>
|
42
|
+
|
43
|
+
{% if page.tags %}
|
44
|
+
<p>
|
45
|
+
{% for tag in page.tags %}
|
46
|
+
<a href="etiquetas/{{ tag | slugify }}/" class="btn btn-recursero tag p-category">{{ tag }}</a>
|
47
|
+
{% endfor %}
|
48
|
+
</p>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
</aside>
|
52
|
+
|
53
|
+
<div class="col-10 col-lg-6 e-content" itemprop="articleBody">
|
54
|
+
{{ content }}
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<footer>
|
59
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
60
|
+
{{ site.url }}/{{ page.url }}
|
61
|
+
</a>
|
62
|
+
|
63
|
+
{%- if page.uuid -%}
|
64
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
65
|
+
{%- endif -%}
|
66
|
+
|
67
|
+
{%- if page.license.url -%}
|
68
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
69
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
70
|
+
<span itemprop="articleBody">
|
71
|
+
{{ page.license.description }}
|
72
|
+
</span>
|
73
|
+
</a>
|
74
|
+
</p>
|
75
|
+
{%- endif -%}
|
76
|
+
|
77
|
+
{%- if page.tags %}
|
78
|
+
<span itemprop="keywords" hidden>{{ page.tags | join: ', ' }}</span>
|
79
|
+
{%- for tag in page.tags -%}
|
80
|
+
<span hidden class="h-category">{{ tag }}</span>
|
81
|
+
{%- endfor -%}
|
82
|
+
{%- endif -%}
|
83
|
+
</footer>
|
84
|
+
</article>
|