editorial-autogestiva-jekyll-theme 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/es.yml +1 -0
- data/_data/layouts/book.yml +22 -0
- data/_layouts/book.html +11 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1b7519a87624f81c67bba20aa4dff257d422d019a061edd63ecd05dd30a4ad9
|
4
|
+
data.tar.gz: 7671e7b59c8cedddd5af15793732669504032aa0b6ee6ce3a6753173fc734ac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 562381dff40ce0c3f2f8764c26c2b72069de18469901e6bd952dcf1ee365c4ad02ed3535d79adde5eb7ca0c09ea177256f74943b62f5449bb1be14c81d937091
|
7
|
+
data.tar.gz: c65fdc8fbf0cadc937338c46e08e5f2bd79b1e26d75ed4a00f8571c4984f3bd6d9d5276d5f2f046f1f3ec43a753e20fc595ad3233723e6741516ceb6c0afd256
|
data/_data/es.yml
CHANGED
data/_data/layouts/book.yml
CHANGED
@@ -31,6 +31,28 @@ availability:
|
|
31
31
|
help:
|
32
32
|
es: 'Si el libro está fuera de stock o no disponible, deshabilita esta opción'
|
33
33
|
en: 'If the book is out of stock or not available, disable this option'
|
34
|
+
file:
|
35
|
+
type: 'file'
|
36
|
+
path:
|
37
|
+
label:
|
38
|
+
es: 'Libro en formato digital'
|
39
|
+
en: 'Ebook'
|
40
|
+
help:
|
41
|
+
es: |
|
42
|
+
Para descarga libre, en formato PDF o ePub
|
43
|
+
en: |
|
44
|
+
For free download, PDF or ePub format
|
45
|
+
description:
|
46
|
+
label:
|
47
|
+
es: 'Descripción del archivo'
|
48
|
+
en: 'File description'
|
49
|
+
help:
|
50
|
+
es: |
|
51
|
+
Describe el archivo para usuaries no videntes y
|
52
|
+
buscadores
|
53
|
+
en: |
|
54
|
+
Describe the file for blind or partially sighted users and
|
55
|
+
search engines
|
34
56
|
price:
|
35
57
|
type: 'string'
|
36
58
|
label:
|
data/_layouts/book.html
CHANGED
@@ -47,8 +47,18 @@ layout: default
|
|
47
47
|
</picture>
|
48
48
|
{%- endif -%}
|
49
49
|
|
50
|
-
{%- if page.payment_url -%}
|
51
50
|
<hr/>
|
51
|
+
|
52
|
+
{%- if page.file.path -%}
|
53
|
+
<a
|
54
|
+
href="{{ page.file.path }}"
|
55
|
+
alt="{{ page.file.description }}"
|
56
|
+
class="btn btn-info btn-block btn-lg">
|
57
|
+
{{ site.i18n.book.file }}
|
58
|
+
</a>
|
59
|
+
{%- endif %}
|
60
|
+
|
61
|
+
{%- if page.payment_url -%}
|
52
62
|
<a
|
53
63
|
href="{{ page.payment_url }}"
|
54
64
|
class="btn btn-success btn-block btn-lg">
|