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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f53efdcc0087a49916be53d104781f7e7703c8b4f2250c9ed6ab973bd3ef5f7
4
- data.tar.gz: a935bcee18f44ac82fda3ae726da62dc1f411db249d3e3df47dccf59c2e75e20
3
+ metadata.gz: f1b7519a87624f81c67bba20aa4dff257d422d019a061edd63ecd05dd30a4ad9
4
+ data.tar.gz: 7671e7b59c8cedddd5af15793732669504032aa0b6ee6ce3a6753173fc734ac7
5
5
  SHA512:
6
- metadata.gz: 8d2698915282143b417e074abb0cb66f82950190f974c811fb927c57f27eae897b9f575fb61955e6693f5faa830f559efde844dbce03f751a207e414cf15e7df
7
- data.tar.gz: 8afe32ed4f79fee17d912ea994bd0fe67fc246a5658a414a9d48b449b43d630f908f444e6a5fb7bbde2b2c4ec6d845e59f94eeead24d5a2bb71c96b7661749ac
6
+ metadata.gz: 562381dff40ce0c3f2f8764c26c2b72069de18469901e6bd952dcf1ee365c4ad02ed3535d79adde5eb7ca0c09ea177256f74943b62f5449bb1be14c81d937091
7
+ data.tar.gz: c65fdc8fbf0cadc937338c46e08e5f2bd79b1e26d75ed4a00f8571c4984f3bd6d9d5276d5f2f046f1f3ec43a753e20fc595ad3233723e6741516ceb6c0afd256
data/_data/es.yml CHANGED
@@ -17,6 +17,7 @@ book:
17
17
  payment_methods: "Métodos de pago"
18
18
  delivery_methods: "Métodos de entrega"
19
19
  payment_url: "Comprar"
20
+ file: "Descargar"
20
21
  direct_download:
21
22
  schema: DirectDownload
22
23
  text: Descarga
@@ -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">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editorial-autogestiva-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - f