observatorio-jekyll-theme 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +168 -0
- data/README.md +164 -0
- data/_config.yml +112 -0
- data/_data/assets.json +4 -0
- data/_data/en.yml +106 -0
- data/_data/es.yml +131 -0
- data/_data/forms/asociate.yml +55 -0
- data/_data/forms/contacto.yml +59 -0
- data/_data/forms/dona.yml +60 -0
- data/_data/forms/newsletter.yml +18 -0
- data/_data/forms/shipping_address.yml +94 -0
- data/_data/forms/sumate.yml +46 -0
- data/_data/forms/user.yml +13 -0
- data/_data/layouts/about.yml +112 -0
- data/_data/layouts/banner_1.yml +65 -0
- data/_data/layouts/banner_2.yml +89 -0
- data/_data/layouts/biblioteca.yml +110 -0
- data/_data/layouts/cart.yml +222 -0
- data/_data/layouts/confirmation.yml +68 -0
- data/_data/layouts/contacto.yml +82 -0
- data/_data/layouts/email.yml +56 -0
- data/_data/layouts/integrante.yml +60 -0
- data/_data/layouts/menu.yml +73 -0
- data/_data/layouts/payment.yml +126 -0
- data/_data/layouts/peticiones.yml +87 -0
- data/_data/layouts/post.yml +135 -0
- data/_data/layouts/product.yml +142 -0
- data/_data/layouts/shipment.yml +126 -0
- data/_data/layouts/theme.yml +266 -0
- data/_includes/5b0263ea6cfc4dab9f3d3fcec87a8337.webp +0 -0
- data/_includes/archive.html +14 -0
- data/_includes/archive_layout_about.html +0 -0
- data/_includes/archive_layout_articulos.html +14 -0
- data/_includes/archive_layout_banner-1.html +0 -0
- data/_includes/archive_layout_banner-2.html +0 -0
- data/_includes/archive_layout_banner_1.html +0 -0
- data/_includes/archive_layout_banner_2.html +0 -0
- data/_includes/archive_layout_biblioteca.html +16 -0
- data/_includes/archive_layout_contacto.html +0 -0
- data/_includes/archive_layout_integrantes.html +26 -0
- data/_includes/archive_layout_layout.html +0 -0
- data/_includes/archive_layout_menu.html +0 -0
- data/_includes/archive_layout_theme.html +0 -0
- data/_includes/archive_post.html +0 -0
- data/_includes/boolean.html +30 -0
- data/_includes/cart_add.html +8 -0
- data/_includes/cart_controller.html +11 -0
- data/_includes/contact.html +23 -0
- data/_includes/content.html +1 -0
- data/_includes/country.html +53 -0
- data/_includes/device_detector.html +15 -0
- data/_includes/donacion.html +125 -0
- data/_includes/email.html +1 -0
- data/_includes/file.html +35 -0
- data/_includes/floating_alert.html +6 -0
- data/_includes/footer.html +11 -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 +49 -0
- data/_includes/intento%20logo%20b_edited.webp +0 -0
- data/_includes/item.html +38 -0
- data/_includes/logo.png +0 -0
- data/_includes/logo.svg +1560 -0
- data/_includes/markdown_content.html +1 -0
- data/_includes/matomo.html +15 -0
- data/_includes/menu.html +27 -0
- data/_includes/navbar.html +32 -0
- data/_includes/newsletter.html +10 -0
- data/_includes/notification.html +5 -0
- data/_includes/number.html +1 -0
- data/_includes/pack.html +1 -0
- data/_includes/password.html +1 -0
- data/_includes/pay_what_you_can_controller.html +13 -0
- data/_includes/picture.html +23 -0
- data/_includes/post.html +48 -0
- data/_includes/postal_code.html +45 -0
- data/_includes/predefined_array.html +39 -0
- data/_includes/preload_font.html +1 -0
- data/_includes/product.html +38 -0
- data/_includes/search.html +25 -0
- data/_includes/section.html +1 -0
- data/_includes/separator.html +1 -0
- data/_includes/share.html +22 -0
- data/_includes/share_box.html +29 -0
- data/_includes/social_networks.html +8 -0
- data/_includes/state.html +52 -0
- data/_includes/string.html +3 -0
- data/_includes/subitem.html +7 -0
- data/_includes/submit.html +5 -0
- data/_includes/tel.html +1 -0
- data/_includes/text.html +32 -0
- data/_includes/url.html +1 -0
- data/_includes/video.html +7 -0
- data/_layouts/about.html +52 -0
- data/_layouts/acciones.html +21 -0
- data/_layouts/archive.html +5 -0
- data/_layouts/asociate.html +20 -0
- data/_layouts/biblioteca.html +85 -0
- data/_layouts/cart.html +72 -0
- data/_layouts/confirmation.html +23 -0
- data/_layouts/contacto.html +47 -0
- data/_layouts/default.html +72 -0
- data/_layouts/dona.html +20 -0
- data/_layouts/home.html +142 -0
- data/_layouts/integrante.html +26 -0
- data/_layouts/layout-categories.html +5 -0
- data/_layouts/layout.html +6 -0
- data/_layouts/page.html +5 -0
- data/_layouts/participa.html +12 -0
- data/_layouts/payment.html +21 -0
- data/_layouts/peticiones.html +24 -0
- data/_layouts/post.html +91 -0
- data/_layouts/product.html +110 -0
- data/_layouts/shipment.html +52 -0
- data/_layouts/sumate.html +20 -0
- data/_sass/accessibility.scss +54 -0
- data/_sass/content.scss +11 -0
- data/_sass/editor.scss +29 -0
- data/_sass/embed.scss +13 -0
- data/_sass/floating_alert.scss +48 -0
- data/_sass/fonts.scss +29 -0
- data/_sass/helpers.scss +379 -0
- data/_sass/menu.scss +36 -0
- data/_sass/share_box.scss +26 -0
- data/_sass/slider.scss +29 -0
- data/_sass/snap.scss +60 -0
- data/_sass/toggler.scss +62 -0
- data/assets/css/styles.scss +173 -0
- data/assets/data/site.json +10 -0
- data/assets/fonts/forkawesome-webfont.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1MmgWxP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q-subset.woff2 +0 -0
- data/assets/js/pack.9dc6883564ec9354c89d.js +114 -0
- data/assets/js/pack.9dc6883564ec9354c89d.js.map +1 -0
- data/assets/templates/alert.html +9 -0
- data/assets/templates/cart.html +67 -0
- data/assets/templates/confirmation.html +67 -0
- data/assets/templates/payment_methods.html +64 -0
- data/assets/templates/recover_order.html +13 -0
- data/assets/templates/results.html +53 -0
- data/assets/templates/shipping_methods.html +38 -0
- metadata +568 -0
@@ -0,0 +1,85 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry row no-gutters justify-content-center" itemscope itemtype="http://schema.org/Article">
|
6
|
+
{%- if page.image.path -%}
|
7
|
+
<div class="col-12 mb-3">
|
8
|
+
{%- include_cached picture.html image=page.image default_description=page.title height='50vh' -%}
|
9
|
+
</div>
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
<header class="col-10 col-md-8">
|
13
|
+
<h1 class="p-name f-4 f-md-h1" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
|
14
|
+
|
15
|
+
{%- if page.description -%}
|
16
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
|
17
|
+
{%- endif -%}
|
18
|
+
|
19
|
+
<p>
|
20
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
21
|
+
{%- assign date_format = site.i18n.date.format | default: "%b %-d, %Y" -%}
|
22
|
+
{{ page.date | default: site.date | date_local: date_format }}
|
23
|
+
</time>
|
24
|
+
|
25
|
+
{%- for author in page.author -%}
|
26
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
27
|
+
<span class="p-author h-card" itemprop="name">
|
28
|
+
{{ author | default: '' | escape }}
|
29
|
+
</span>
|
30
|
+
</span>
|
31
|
+
{%- endfor -%}
|
32
|
+
</p>
|
33
|
+
|
34
|
+
{%- unless page.categories == empty -%}
|
35
|
+
<p>
|
36
|
+
{% for category in page.categories %}
|
37
|
+
<a class="badge badge-primary white h-category" href="{{ category.url }}">{{ category.title }}</a>
|
38
|
+
{% endfor %}
|
39
|
+
</p>
|
40
|
+
{%- endunless -%}
|
41
|
+
|
42
|
+
{% if page.link %}
|
43
|
+
<a class="btn btn-primary" href="{{ page.link }}" target="_blank" rel="noopener">{{ site.i18n.biblioteca.link }}</a>
|
44
|
+
{% endif %}
|
45
|
+
|
46
|
+
{% if page.file.path %}
|
47
|
+
<a
|
48
|
+
class="btn btn-primary"
|
49
|
+
href="{{ page.file.path }}"
|
50
|
+
download="{{ page.title }}{{ page.file.path | extname }}">{{ site.i18n.biblioteca.file }}</a>
|
51
|
+
{% endif %}
|
52
|
+
</header>
|
53
|
+
|
54
|
+
<div class="e-content col-10 col-md-8 content" itemprop="articleBody">
|
55
|
+
{{ content | replace: '<img ', '<img loading="lazy" ' | replace: '<iframe ', '<iframe loading="lazy" ' }}
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<footer class="col-10">
|
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
|
+
<meta
|
78
|
+
itemprop="keywords"
|
79
|
+
content="{{ page.tags | join: ',' }},{{ page.categories | map: 'title' | join: ',' }}" />
|
80
|
+
|
81
|
+
{%- for tag in page.tags -%}
|
82
|
+
<span hidden class="h-category">{{ tag }}</span>
|
83
|
+
{%- endfor -%}
|
84
|
+
</footer>
|
85
|
+
</article>
|
data/_layouts/cart.html
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section>
|
6
|
+
<h1>{{ page.title }}</h1>
|
7
|
+
<div class="content">
|
8
|
+
{{ content | replace: '<img ', '<img loading="lazy" ' | replace: '<iframe ', '<iframe loading="lazy" ' }}
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div
|
12
|
+
data-controller="order"
|
13
|
+
data-order-item-template="assets/templates/cart.html">
|
14
|
+
|
15
|
+
<div class="row no-gutters align-items-center font-weight-bold justify-content-center">
|
16
|
+
<div class="d-none d-lg-block col-lg-4 p-3">
|
17
|
+
<h4 class="m-0">{{ page.product }}</h4>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="d-none d-lg-block col-lg-8">
|
21
|
+
<div class="row no-gutters align-items-center">
|
22
|
+
<div class="col-lg p-3">
|
23
|
+
<h4 class="m-0">{{ page.price }}</h4>
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div class="col-lg p-3">
|
27
|
+
<h4 class="m-0">{{ page.quantity }}</h4>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="col-lg p-3">
|
31
|
+
<h4 class="m-0">{{ page.subtotal }}</h4>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="col-lg-2 p-3">
|
35
|
+
<h4 class="m-0 sr-only">{{ page.remove }}</h4>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="col-12" data-target="order.cart">
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div class="row no-gutters align-items-end">
|
45
|
+
<div class="order-last order-md-first col-12 col-md-6 col-lg-4 mt-3 mt-md-0">
|
46
|
+
<a href="?" class="btn btn-transparent black border text-uppercase">
|
47
|
+
{{ page.back }}
|
48
|
+
</a>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div class="col-12 col-md-6 col-lg-8">
|
52
|
+
<div class="row no-gutters align-items-center">
|
53
|
+
<div class="col-lg"></div>
|
54
|
+
|
55
|
+
<div class="col-6 col-lg text-right">
|
56
|
+
<p class="font-weight-bold">{{ page.subtotal }}</p>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div class="col-6 col-lg text-center">
|
60
|
+
<p class="font-weight-bold" data-target="order.subtotal">0</p>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<div class="col-lg-2"></div>
|
64
|
+
|
65
|
+
<div class="col-12">
|
66
|
+
<a href="{{ site.shipment.url }}" class="btn btn-block btn-primary text-uppercase">{{ site.shipment.title }}</a>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</section>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section
|
6
|
+
data-controller="cart-confirmation"
|
7
|
+
data-template="confirmation"
|
8
|
+
data-clear="true">
|
9
|
+
|
10
|
+
<header>
|
11
|
+
<h1>{{ page.title }}</h1>
|
12
|
+
</header>
|
13
|
+
|
14
|
+
<div class="content">
|
15
|
+
{{ content }}
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div data-target="cart-confirmation.order"></div>
|
19
|
+
|
20
|
+
<p data-controller="cart-paypal-confirmation"></p>
|
21
|
+
|
22
|
+
<a href="?" class="btn btn-primary text-uppercase">{{ page.back }}</a>
|
23
|
+
</section>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- assign form = site.data.forms.contacto -%}
|
6
|
+
|
7
|
+
<article id="contacto" class="h-entry row no-gutters justify-content-center" itemscope itemtype="http://schema.org/Article">
|
8
|
+
{%- if page.image.path -%}
|
9
|
+
<div class="col-12 mb-3">
|
10
|
+
{%- include_cached picture.html image=page.image default_description=page.title height='50vh' -%}
|
11
|
+
</div>
|
12
|
+
{%- endif -%}
|
13
|
+
|
14
|
+
<header class="col-10 col-md-8">
|
15
|
+
<h1 class="p-name f-4 f-md-h1 blue text-uppercase" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
|
16
|
+
|
17
|
+
{%- if page.description -%}
|
18
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
|
19
|
+
{%- endif -%}
|
20
|
+
</header>
|
21
|
+
|
22
|
+
<div class="e-content col-10 col-md-8 content" itemprop="articleBody">
|
23
|
+
{{ content | replace: '<img ', '<img loading="lazy" ' | replace: '<iframe ', '<iframe loading="lazy" ' }}
|
24
|
+
|
25
|
+
{% include contact.html name='contacto' form=site.data.forms.contacto %}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<footer class="col-10">
|
29
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
30
|
+
{{ site.url }}/{{ page.url }}
|
31
|
+
</a>
|
32
|
+
|
33
|
+
{%- if page.uuid -%}
|
34
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
35
|
+
{%- endif -%}
|
36
|
+
|
37
|
+
{%- if page.license.url -%}
|
38
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
39
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
40
|
+
<span itemprop="articleBody">
|
41
|
+
{{ page.license.description }}
|
42
|
+
</span>
|
43
|
+
</a>
|
44
|
+
</p>
|
45
|
+
{%- endif -%}
|
46
|
+
</footer>
|
47
|
+
</article>
|
@@ -0,0 +1,72 @@
|
|
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
|
+
{% comment %}
|
13
|
+
No tenemos forma de hashear SASS aún, por lo que renovamos la caché
|
14
|
+
aplicando la hora de compilación del sitio. Es importante que los
|
15
|
+
CSS se renueven cuando se regenera el sitio, porque pueden contener
|
16
|
+
variables dinámicas (como personalización de colores y tipografía) o
|
17
|
+
minificarse distinto dependiendo del contenido.
|
18
|
+
{% endcomment %}
|
19
|
+
<link href="assets/css/styles.css?{{ site.time | date: '%s' }}" rel="stylesheet">
|
20
|
+
|
21
|
+
{% comment %}
|
22
|
+
Webpack. La configuración se pasa por variables de entorno, en
|
23
|
+
desarrollo hay que evitar el archivo .env (copiarlo de .env.example
|
24
|
+
si no existe.
|
25
|
+
{% endcomment %}
|
26
|
+
<link rel="preload" as="script" type="text/javascript" href="env.js" />
|
27
|
+
<script type="text/javascript" src="env.js?{{ site.time | date: '%s' }}"></script>
|
28
|
+
{% include_cached pack.html %}
|
29
|
+
|
30
|
+
{% comment %}
|
31
|
+
Agregar otras tipografías. Esto hace que las tipografías se carguen
|
32
|
+
lo más rápido posible y minimizar el tiempo en que se ven las del
|
33
|
+
navegador. En Firefox todavía no está soportado.
|
34
|
+
|
35
|
+
Fork Awesome lleva la hora de generación para poder renovarlo si
|
36
|
+
agregamos íconos nuevos, de lo contrario puede quedar cacheado para
|
37
|
+
siempre y les visitantes van a ver íconos rotos.
|
38
|
+
{% endcomment %}
|
39
|
+
{% include_cached preload_font.html font='assets/fonts/forkawesome-webfont.woff2' %}
|
40
|
+
|
41
|
+
<link rel="icon" type="image/svg+xml" href="public/favicon.svg">
|
42
|
+
<link rel="alternate icon" href="public/favicon.ico">
|
43
|
+
<link rel="mask-icon" href="public/favicon.svg" color="white">
|
44
|
+
|
45
|
+
{% seo %}
|
46
|
+
{% feed_meta %}
|
47
|
+
</head>
|
48
|
+
<body>
|
49
|
+
<div data-turbo-permanent>
|
50
|
+
<a href="#content" data-turbo="false" class="sr-only sr-only-focusable">
|
51
|
+
{{ site.i18n.accessibility.skip_to_content }}
|
52
|
+
</a>
|
53
|
+
|
54
|
+
{%- include_cached notification.html -%}
|
55
|
+
</div>
|
56
|
+
|
57
|
+
{%- assign active_cache_key = page.url | menu_active_item | default: 'none' -%}
|
58
|
+
{%- include_cached navbar.html active_cache_key=active_cache_key %}
|
59
|
+
|
60
|
+
|
61
|
+
<main tabindex="-1" role="main" id="content" data-controller="scroll stock" data-per-page="100" class="mt-3">
|
62
|
+
{{ content }}
|
63
|
+
</main>
|
64
|
+
|
65
|
+
{% include_cached footer.html %}
|
66
|
+
{% include_cached floating_alert.html %}
|
67
|
+
|
68
|
+
<div data-turbo-permanent>
|
69
|
+
{% include_cached device_detector.html %}
|
70
|
+
</div>
|
71
|
+
</body>
|
72
|
+
</html>
|
data/_layouts/dona.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- assign form = site.data.forms.dona -%}
|
6
|
+
|
7
|
+
<section id="participa" class="row justify-content-center no-gutters">
|
8
|
+
<div class="col-7 mt-5 mb-5">
|
9
|
+
<form id="{{ name }}" class="update-domain" autocomplete="off" data-attr="action" action="https://api.{{ site.hostname }}/v1/sites/{{ site.hostname }}/contact/{{ name }}" method="post">
|
10
|
+
<div class="row justify-content-center">
|
11
|
+
{%- for field in form -%}
|
12
|
+
{% assign template = field[1].type | append: '.html' %}
|
13
|
+
<div class="col{{ field[1].col | default: 12 | prepend: '-' }}">
|
14
|
+
{% include {{ template }} field=field %}
|
15
|
+
</div>
|
16
|
+
{%- endfor -%}
|
17
|
+
</div>
|
18
|
+
</form>
|
19
|
+
</div>
|
20
|
+
</section>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{%- assign about = site.posts | find: 'layout', 'about' -%}
|
6
|
+
{%- assign posts = site.posts | where: 'layout', 'post' -%}
|
7
|
+
{%- assign logros = site.posts | where: 'layout', 'banner_1' -%}
|
8
|
+
{%- assign acciones = site.posts | where: 'layout', 'banner_2' -%}
|
9
|
+
|
10
|
+
<section id="portada">
|
11
|
+
<div class="row no-gutters justify-content-center row-cols-1 row-cols-md-2 row-cols-lg-3">
|
12
|
+
{% for post in posts limit: 2 %}
|
13
|
+
{%- include_cached post.html post=post height=30 overlap=true -%}
|
14
|
+
{% endfor %}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
{% comment %}
|
18
|
+
Usamos container y row con gutters para poder tener divisiones en la
|
19
|
+
grilla de noticias.
|
20
|
+
{% endcomment %}
|
21
|
+
<div class="container">
|
22
|
+
<div class="row justify-content-center row-cols-1 row-cols-md-3">
|
23
|
+
{% for post in posts limit: 6 offset: 3 %}
|
24
|
+
{%- include_cached post.html post=post -%}
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</section>
|
29
|
+
|
30
|
+
|
31
|
+
<section id="mision">
|
32
|
+
<div class="d-flex w-100 h-80vh flex-column">
|
33
|
+
{%- include_cached picture.html image=about.image default_description=about.title height='80vh' -%}
|
34
|
+
|
35
|
+
<div class="d-flex align-items-center justify-content-center w-100 mt-n80vh h-80vh">
|
36
|
+
<div class="text-center white">
|
37
|
+
<h1 class="font-weight-bold text-uppercase f-md-8">{{ about.title }}</h1>
|
38
|
+
<p class="lead f-md-5">{{ about.tagline }}</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="d-flex background-blue vh-50 align-items-center justify-content-center pt-8 pb-8">
|
44
|
+
<div class="text-white text-center">
|
45
|
+
<div class="mb-3">
|
46
|
+
{{ about.mision }}
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<a class="btn btn-outline-light" href="{{ about.url }}">{{ site.i18n.more }}</a>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<div class="h-80vh">
|
54
|
+
{%- include_cached picture.html image=about.image_2 default_description=about.title height='80vh' -%}
|
55
|
+
</div>
|
56
|
+
</section>
|
57
|
+
|
58
|
+
{% unless logros == empty %}
|
59
|
+
<section id="logros">
|
60
|
+
<header class="pt-5 pb-5">
|
61
|
+
<h1 class="text-uppercase text-center">{{ site.i18n.logros.title }}</h1>
|
62
|
+
</header>
|
63
|
+
|
64
|
+
<div class="w-100 row no-gutters row-cols-1 row-cols-md-3 flex-nowrap no-scrollbar overflow-y-hidden snap-mandatory-y">
|
65
|
+
{% for logro in logros %}
|
66
|
+
<article
|
67
|
+
id="{{ logro.slug }}"
|
68
|
+
class="snap-start position-relative d-flex flex-column justify-content-start align-items-center"
|
69
|
+
itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
|
70
|
+
<a class="stretched-link" href="{{ logro.post.url }}"></a>
|
71
|
+
|
72
|
+
{%- include_cached picture.html image=logro.image default_description=logro.title height='15' -%}
|
73
|
+
|
74
|
+
<header class="text-center">
|
75
|
+
<h1 class="f-3 text-uppercase">{{ logro.title }}</h1>
|
76
|
+
<p class="lead">{{ logro.description }}</p>
|
77
|
+
</header>
|
78
|
+
|
79
|
+
<a
|
80
|
+
href="#{{ logro | infinite_prev: logros, 1 | map: 'slug' | first }}"
|
81
|
+
class="carousel-control-prev d-md-none"
|
82
|
+
role="button">
|
83
|
+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
84
|
+
<span class="sr-only">{{ site.i18n.accessibility.previous }}</span>
|
85
|
+
</a>
|
86
|
+
|
87
|
+
<a
|
88
|
+
href="#{{ logro | infinite_next: logros, 1 | map: 'slug' | first }}"
|
89
|
+
class="carousel-control-next d-md-none"
|
90
|
+
role="button">
|
91
|
+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
92
|
+
<span class="sr-only">{{ site.i18n.accessibility.next }}</span>
|
93
|
+
</a>
|
94
|
+
</article>
|
95
|
+
{% endfor %}
|
96
|
+
</div>
|
97
|
+
</section>
|
98
|
+
{% endunless %}
|
99
|
+
|
100
|
+
{% unless acciones == empty %}
|
101
|
+
<section id="acciones" class="mt-5">
|
102
|
+
<div class="w-100 row no-gutters row-cols-1 row-cols-md-4 flex-nowrap no-scrollbar overflow-y-hidden snap-mandatory-y">
|
103
|
+
{% for accion in acciones %}
|
104
|
+
<article
|
105
|
+
id="{{ accion.slug }}"
|
106
|
+
class="snap-start position-relative d-flex flex-column justify-content-start align-items-center pb-8"
|
107
|
+
style="background-color: {{ accion.background_color | default: 'transparent' }}; color: {{ accion.color | default: 'black' }}"
|
108
|
+
itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
|
109
|
+
<a
|
110
|
+
class="stretched-link"
|
111
|
+
{{ accion.link | start_with: 'http' | value_if: 'rel="noopener" target="_blank"' }}
|
112
|
+
href="{{ accion.link | present | ternary: accion.link, accion.post.url }}"></a>
|
113
|
+
|
114
|
+
{%- include_cached picture.html image=accion.image default_description=accion.title height='15' -%}
|
115
|
+
|
116
|
+
<header class="text-center text-uppercase">
|
117
|
+
<h1 class="f-3">{{ accion.title }}</h1>
|
118
|
+
<p class="lead">{{ accion.description }}</p>
|
119
|
+
|
120
|
+
<p>{{ site.i18n.more }}</p>
|
121
|
+
</header>
|
122
|
+
|
123
|
+
<a
|
124
|
+
href="#{{ accion | infinite_prev: acciones, 1 | map: 'slug' | first }}"
|
125
|
+
class="carousel-control-prev d-md-none"
|
126
|
+
role="button">
|
127
|
+
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
128
|
+
<span class="sr-only">{{ site.i18n.accessibility.previous }}</span>
|
129
|
+
</a>
|
130
|
+
|
131
|
+
<a
|
132
|
+
href="#{{ accion | infinite_next: acciones, 1 | map: 'slug' | first }}"
|
133
|
+
class="carousel-control-next d-md-none"
|
134
|
+
role="button">
|
135
|
+
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
136
|
+
<span class="sr-only">{{ site.i18n.accessibility.next }}</span>
|
137
|
+
</a>
|
138
|
+
</article>
|
139
|
+
{% endfor %}
|
140
|
+
</div>
|
141
|
+
</section>
|
142
|
+
{% endunless %}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section id="integrante">
|
6
|
+
<div class="row justify-content-center">
|
7
|
+
<div class="col-12 flex-column text-center">
|
8
|
+
<p class="blue font-weight-bold h1 m-5">¿Quiénes somos?</p>
|
9
|
+
<p>Las caras de nuestra organización</p>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="row mt-5 mb-5 justify-content-center">
|
14
|
+
{% assign integrantes = site.posts | where: 'layout', 'integrante' %}
|
15
|
+
{% for i in integrantes %}
|
16
|
+
<div class="col-3 m-2">
|
17
|
+
<img
|
18
|
+
class="img-fluid rounded-circle"
|
19
|
+
src="{{ i.foto.path }}"
|
20
|
+
alt="{{ i.foto.description }}" />
|
21
|
+
<p class="blue text-center m-3 font-weight-bold">{{i.title}}</p>
|
22
|
+
<p>{{ i.description }}</p>
|
23
|
+
</div>
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
</section>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="d-flex vh-100 align-items-center justify-content-center opacidad" style="background-image: url({{ page.foto.path }});background-size: cover; background-position: center center;">
|
6
|
+
<div class="row fondo-nov p-7 vw-100">
|
7
|
+
<div class="col text-center text-white">
|
8
|
+
<h1 class="font-weight-bold">{{ page.title }}</h1>
|
9
|
+
<p>{{ page.description }}</p>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</section>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="">
|
6
|
+
<header class="">
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="content">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div
|
15
|
+
id="cart-payment-methods"
|
16
|
+
data-controller="cart-payment-methods"
|
17
|
+
data-cart-payment-methods-next-url="{{ site.confirmation.url }}"
|
18
|
+
data-cart-payment-methods-back-url="{{ site.shipment.url }}"
|
19
|
+
data-cart-payment-methods-template="payment_methods">
|
20
|
+
</div>
|
21
|
+
</section>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section id="peticiones">
|
6
|
+
{%- assign peticion = site.posts | where: 'layout', 'peticiones' -%}
|
7
|
+
{% for i in peticion %}
|
8
|
+
<div class="row justify-content-center mb-4">
|
9
|
+
<div class="col-3">
|
10
|
+
<img class="img-fluid" src="{{ i.foto.path }}" alt="{{ i.foto.description }}" />
|
11
|
+
</div>
|
12
|
+
<div class="col-5">
|
13
|
+
<h2 class="petitle text-uppercase font-weight-bolder">{{ i.title }}</h2>
|
14
|
+
|
15
|
+
<p>{{ i.description }}</p>
|
16
|
+
|
17
|
+
<div class="d-flex justify-content-around">
|
18
|
+
<a href="{{ i.url }}" class="btn btn-light text-uppercase font-weight-bolder">{{ site.i18n.more }}</a>
|
19
|
+
<a href="{{ i.firmar }}" class="btn btn-light text-uppercase font-weight-bolder">{{ site.i18n.firmar }}</a>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
{% endfor %}
|
24
|
+
</section>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="h-entry row no-gutters justify-content-center" itemscope itemtype="http://schema.org/Article">
|
6
|
+
<div class="col-12 mb-3 text-center">
|
7
|
+
{%- if page.video -%}
|
8
|
+
{%- include_cached video.html video=page.video -%}
|
9
|
+
{%- elsif page.image.path -%}
|
10
|
+
{%- include_cached picture.html image=page.image default_description=page.title height='50vh' width='auto' cover=false -%}
|
11
|
+
{%- endif -%}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<header class="col-10 col-md-8">
|
15
|
+
<h1 class="p-name f-4 f-md-h1" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
|
16
|
+
|
17
|
+
{%- if page.description -%}
|
18
|
+
<p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
|
19
|
+
{%- endif -%}
|
20
|
+
|
21
|
+
<p>
|
22
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
23
|
+
{%- assign date_format = site.i18n.date.format | default: "%b %-d, %Y" -%}
|
24
|
+
{{ page.date | default: site.date | date_local: date_format }}
|
25
|
+
</time>
|
26
|
+
|
27
|
+
{%- for author in page.author -%}
|
28
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
29
|
+
<span class="p-author h-card" itemprop="name">
|
30
|
+
{{ author | default: '' | escape }}
|
31
|
+
</span>
|
32
|
+
</span>
|
33
|
+
{%- endfor -%}
|
34
|
+
</p>
|
35
|
+
|
36
|
+
{%- unless page.categories == empty -%}
|
37
|
+
<p>
|
38
|
+
{% for category in page.categories %}
|
39
|
+
<a class="badge badge-primary white h-category" href="{{ category.url }}">{{ category.title }}</a>
|
40
|
+
{% endfor %}
|
41
|
+
</p>
|
42
|
+
{%- endunless -%}
|
43
|
+
|
44
|
+
{%- include share_box.html url=page.url title=page.title description=page.description -%}
|
45
|
+
|
46
|
+
{% if page.link %}
|
47
|
+
<a class="btn btn-primary" href="{{ page.link }}" target="_blank" rel="noopener">{{ site.i18n.biblioteca.link }}</a>
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% if page.file.path %}
|
51
|
+
<a
|
52
|
+
class="btn btn-primary"
|
53
|
+
href="{{ page.file.path }}"
|
54
|
+
download="{{ page.title }}{{ page.file.path | extname }}">{{ site.i18n.biblioteca.file }}</a>
|
55
|
+
{% endif %}
|
56
|
+
</header>
|
57
|
+
|
58
|
+
<div class="e-content col-10 col-md-8 content" itemprop="articleBody">
|
59
|
+
{{ content | replace: '<img ', '<img loading="lazy" ' | replace: '<iframe ', '<iframe loading="lazy" ' }}
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<footer class="col-10">
|
63
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
64
|
+
{{ site.url }}/{{ page.url }}
|
65
|
+
</a>
|
66
|
+
|
67
|
+
{%- if page.uuid -%}
|
68
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
69
|
+
{%- endif -%}
|
70
|
+
|
71
|
+
{%- if page.license.url -%}
|
72
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
73
|
+
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
74
|
+
<span itemprop="articleBody">
|
75
|
+
{{ page.license.description }}
|
76
|
+
</span>
|
77
|
+
</a>
|
78
|
+
</p>
|
79
|
+
{%- endif -%}
|
80
|
+
|
81
|
+
<meta
|
82
|
+
itemprop="keywords"
|
83
|
+
content="{{ page.tags | map: 'title' | join: ',' }},{{ page.categories | map: 'title' | join: ',' }}" />
|
84
|
+
|
85
|
+
<p>
|
86
|
+
{%- for tag in page.tags -%}
|
87
|
+
<a class="h-category badge badge-primary" href="{{ tag.url }}">{{ tag.title }}</a>
|
88
|
+
{%- endfor -%}
|
89
|
+
</p>
|
90
|
+
</footer>
|
91
|
+
</article>
|