editorial-autogestiva-jekyll-theme 0.2.6 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/_config.yml +73 -0
  4. data/_data/en.yml +151 -0
  5. data/_data/es.yml +111 -31
  6. data/_data/forms/billing_address.yml +71 -0
  7. data/_data/forms/contacto.yml +49 -0
  8. data/_data/forms/contacto.yml~ +45 -0
  9. data/_data/forms/shipping_address.yml +76 -0
  10. data/_data/forms/user.yml +11 -0
  11. data/_data/layouts/book.yml +82 -93
  12. data/_data/layouts/cart.yml +198 -0
  13. data/_data/layouts/confirmation.yml +68 -0
  14. data/_data/layouts/menu.yml +65 -0
  15. data/_data/layouts/payment.yml +114 -0
  16. data/_data/layouts/post.yml +0 -1
  17. data/_data/layouts/shipment.yml +126 -0
  18. data/_includes/boolean.html +30 -0
  19. data/_includes/cart.svg +1 -0
  20. data/_includes/cart_add.html +8 -0
  21. data/_includes/cart_controller.html +10 -0
  22. data/_includes/contact.html +17 -29
  23. data/_includes/content.html +1 -0
  24. data/_includes/country.html +53 -0
  25. data/_includes/editorial.html +24 -30
  26. data/_includes/email.html +1 -0
  27. data/_includes/file.html +35 -0
  28. data/_includes/floating_alert.html +6 -0
  29. data/_includes/footer.html +10 -8
  30. data/_includes/form/boolean.html +1 -0
  31. data/_includes/form/content.html +1 -0
  32. data/_includes/form/email.html +1 -0
  33. data/_includes/form/file.html +1 -0
  34. data/_includes/form/hidden.html +1 -0
  35. data/_includes/form/image.html +1 -0
  36. data/_includes/form/input.html +1 -0
  37. data/_includes/form/markdown_content.html +1 -0
  38. data/_includes/form/number.html +1 -0
  39. data/_includes/form/predefined_array.html +1 -0
  40. data/_includes/form/section.html +1 -0
  41. data/_includes/form/separator.html +1 -0
  42. data/_includes/form/string.html +1 -0
  43. data/_includes/form/submit.html +1 -0
  44. data/_includes/form/tel.html +1 -0
  45. data/_includes/form/text.html +1 -0
  46. data/_includes/form/url.html +1 -0
  47. data/_includes/hidden.html +5 -0
  48. data/_includes/image.html +32 -0
  49. data/_includes/input.html +45 -0
  50. data/_includes/item.html +38 -0
  51. data/_includes/markdown_content.html +1 -0
  52. data/_includes/menu.html +27 -0
  53. data/_includes/navbar.html +29 -25
  54. data/_includes/notification.html +5 -0
  55. data/_includes/number.html +1 -0
  56. data/_includes/password.html +1 -0
  57. data/_includes/picture.html +23 -0
  58. data/_includes/postal_code.html +45 -0
  59. data/_includes/predefined_array.html +39 -0
  60. data/_includes/preload_font.html +1 -0
  61. data/_includes/search.html +25 -0
  62. data/_includes/section.html +1 -0
  63. data/_includes/separator.html +1 -0
  64. data/_includes/share.html +22 -0
  65. data/_includes/share_box.html +16 -0
  66. data/_includes/state.html +53 -0
  67. data/_includes/string.html +3 -0
  68. data/_includes/submit.html +1 -0
  69. data/_includes/tel.html +1 -0
  70. data/_includes/text.html +32 -0
  71. data/_includes/url.html +1 -0
  72. data/_layouts/book.html +42 -84
  73. data/_layouts/cart.html +72 -0
  74. data/_layouts/confirmation.html +17 -0
  75. data/_layouts/default.html +30 -10
  76. data/_layouts/home.html +23 -13
  77. data/_layouts/payment.html +21 -0
  78. data/_layouts/post.html +5 -5
  79. data/_layouts/shipment.html +52 -0
  80. data/_sass/accessibility.scss +37 -0
  81. data/_sass/editor.scss +8 -0
  82. data/_sass/embed.scss +5 -0
  83. data/_sass/floating_alert.scss +10 -0
  84. data/_sass/helpers.scss +318 -0
  85. data/_sass/logic.scss +17 -0
  86. data/_sass/menu.scss +20 -0
  87. data/_sass/share.html +12 -0
  88. data/_sass/share_box.html +16 -0
  89. data/_sass/share_box.scss +26 -0
  90. data/_sass/snap.scss +58 -0
  91. data/_sass/toggler.scss +39 -0
  92. data/assets/css/styles.scss +41 -5
  93. data/assets/data/site.json +24 -0
  94. data/assets/fonts/forkawesome-webfont.woff2 +0 -0
  95. data/assets/js/pack.js +16 -0
  96. data/assets/js/pack.js.map +1 -0
  97. data/assets/js/script.js +44 -0
  98. data/assets/templates/alert.html +7 -0
  99. data/assets/templates/cart.html +65 -0
  100. data/assets/templates/payment_methods.html +41 -0
  101. data/assets/templates/recover_order.html +11 -0
  102. data/assets/templates/results.html +17 -0
  103. data/assets/templates/shipping_methods.html +36 -0
  104. metadata +258 -30
  105. data/_sass/home.scss +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1b7519a87624f81c67bba20aa4dff257d422d019a061edd63ecd05dd30a4ad9
4
- data.tar.gz: 7671e7b59c8cedddd5af15793732669504032aa0b6ee6ce3a6753173fc734ac7
3
+ metadata.gz: 7731ed5158c0240024943e764b0a3659800affb0d82f40d8a343b5ae221c1953
4
+ data.tar.gz: b3dccaa59707b1b2e7b155381f7c9c17635b786cdee8b294e2a5a70745c7c195
5
5
  SHA512:
6
- metadata.gz: 562381dff40ce0c3f2f8764c26c2b72069de18469901e6bd952dcf1ee365c4ad02ed3535d79adde5eb7ca0c09ea177256f74943b62f5449bb1be14c81d937091
7
- data.tar.gz: c65fdc8fbf0cadc937338c46e08e5f2bd79b1e26d75ed4a00f8571c4984f3bd6d9d5276d5f2f046f1f3ec43a753e20fc595ad3233723e6741516ceb6c0afd256
6
+ metadata.gz: 3ce2ce6acfffe01896235479748f03678880a99124a5d54af96ff5dd33ff97d4cca74a961e2e6af77722cf75c34ee42680310cfd349700d4361f3ab50bd443c4
7
+ data.tar.gz: e3dd73babf19c4b629f2a6a66910690ed5b948e31d087e5facff5aaabb7dfeafa0d17efe38df04c78ff6cb5fdd3398276043a34a8ac7ee224ee381f1170fdf5a
data/README.md CHANGED
@@ -3,8 +3,6 @@
3
3
  Una plantilla para editoriales autogestivas
4
4
 
5
5
 
6
- ## Installation
7
-
8
6
  Install Bootstrap 4.4:
9
7
 
10
8
  ```bash
data/_config.yml ADDED
@@ -0,0 +1,73 @@
1
+ title: Editorial Autogestiva
2
+ description: O quizás también pirata P)
3
+ plugins:
4
+ - jekyll-hardlinks
5
+ - jekyll-locales
6
+ - jekyll-ignore-layouts
7
+ - jekyll-relative-urls
8
+ - jekyll-unique-urls
9
+ - jekyll-dotenv
10
+ - jekyll-include-cache
11
+ - jekyll-linked-posts
12
+ - jekyll-commonmark
13
+ - jekyll-feed
14
+ - jekyll-order
15
+ - jekyll-data
16
+ - jekyll-seo-tag
17
+ - jekyll-images
18
+ - sutty-liquid
19
+ - jekyll-write-and-commit-changes
20
+ - jekyll-spree-client
21
+ markdown: CommonMark
22
+ commonmark:
23
+ options:
24
+ - SMART
25
+ - FOOTNOTES
26
+ - UNSAFE
27
+ extensions:
28
+ - strikethrough
29
+ - autolink
30
+ - table
31
+ # Agregar node_modules a la lista de directorios donde SASS busca
32
+ # archivos. Podríamos haber agregado solo "node_modules/bootstrap/scss"
33
+ # pero queríamos dejarlo abierto para poder cambiar de framework o
34
+ # llamar a varios a la vez.
35
+ sass:
36
+ style: compressed
37
+ load_paths:
38
+ - node_modules
39
+ # Opciones para generar las URLs de las páginas. Por defecto Jekyll
40
+ # crea /categoria/año/mes/dia/titulo.html que me parece innecesariamente
41
+ # larga.
42
+ #
43
+ # Con esto generamos URLs relativas (sin / al principio) y solo el
44
+ # titulo convertido en slug. El slug es la versión limpia del título,
45
+ # sin espacios ni mayusculas, a veces sin tildes.
46
+ #
47
+ # En realidad Jekyll es un poco confuso acá porque :title es el nombre
48
+ # del archivo usado en _posts/yyyy-mm-dd-slug.md y no el titulo
49
+ # slugificado. De todas formas Sutty se encarga de que coincidan.
50
+ permalink: ":title/"
51
+ # El nombre de la plantilla
52
+ # theme: sutty-base-jekyll-theme
53
+ # La lista de resoluciones de imágenes disponibles para jekyll-images.
54
+ # Estamos usando los puntos de quiebre de bootstrap.
55
+ #
56
+ # https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints
57
+ images:
58
+ sizes:
59
+ - 576
60
+ - 768
61
+ - 992
62
+ - 1140
63
+ locales:
64
+ - es
65
+ spree:
66
+ sku_field: sku
67
+ shipping_category_id: 1
68
+ linked_fields:
69
+ - post
70
+ - item
71
+ - items
72
+ ignored_layouts:
73
+ - menu
data/_data/en.yml ADDED
@@ -0,0 +1,151 @@
1
+ ---
2
+ locale: 'English'
3
+ countries:
4
+ validation: 'Choose a country from the list'
5
+ states:
6
+ validation: 'Choose a state from the list'
7
+ recover_order: 'Recover order'
8
+ alerts:
9
+ incorrect_password: "You're registered but your password is incorrect, you can try again or continue shopping as guest."
10
+ successful_login: "You're logged in, your order will be added to your shopping history."
11
+ successful_signup: "Thanks for signing up!"
12
+ error: "There was an error contacting the store, please try again in a few minutes :("
13
+ no_response_error: "There was an error contacting the store, please try again in a few minutes :("
14
+ spree_error: "There was an error contacting the store, please try again in a few minutes :("
15
+ recover_order: "We can't find your order"
16
+ select_format: "Choose a format:"
17
+ date:
18
+ format: '%m/%d/%Y'
19
+ abbr_day_names:
20
+ - Mon
21
+ - Tue
22
+ - Wed
23
+ - Thu
24
+ - Fri
25
+ - Sat
26
+ - Sun
27
+ day_names:
28
+ - Monday
29
+ - Tuesday
30
+ - Wednesday
31
+ - Thursday
32
+ - Friday
33
+ - Saturday
34
+ - Sunday
35
+ abbr_month_names:
36
+ - Jan
37
+ - Feb
38
+ - Mar
39
+ - Apr
40
+ - May
41
+ - Jun
42
+ - Jul
43
+ - Aug
44
+ - Sep
45
+ - Oct
46
+ - Nov
47
+ - Dec
48
+ month_names:
49
+ - January
50
+ - February
51
+ - March
52
+ - April
53
+ - May
54
+ - June
55
+ - July
56
+ - August
57
+ - September
58
+ - October
59
+ - November
60
+ - December
61
+ time:
62
+ am: am
63
+ pm: pm
64
+ layouts:
65
+ post: Article
66
+ book: Book
67
+ editorial: About
68
+ cart: Cart
69
+ confirmation: Order confirmation
70
+ payment: Payment
71
+ shipment: Shipment
72
+ menu: Menu
73
+ menu:
74
+ title: Menu
75
+ book:
76
+ pages: "Pages"
77
+ size: "Size"
78
+ availability: "Availability"
79
+ in_stock: "In stock"
80
+ out_of_stock: "Out of sotkc"
81
+ payment_methods: "Payment methods"
82
+ delivery_methods: "Delivery methods"
83
+ payment_url: "Buy"
84
+ file: "Download"
85
+ direct_download:
86
+ schema: DirectDownload
87
+ text: Download
88
+ pick_up:
89
+ schema: PickUp
90
+ text: Pick up
91
+ mail:
92
+ schema: Mail
93
+ text: Mil
94
+ cash:
95
+ schema: Cash
96
+ text: Cash
97
+ direct_debit:
98
+ schema: DirectDebit
99
+ text: Direct debit
100
+ bank_transfer_in_advance:
101
+ schema: BankTransferInAdvance
102
+ text: Bank transfer
103
+ footer:
104
+ made_with_sutty: 'Made with [Sutty](https://sutty.nl/es/). [Build yours :)](https://panel.sutty.nl/).'
105
+ links:
106
+ - text: "Privacy policy"
107
+ url: "privacy-policy/"
108
+ - text: "Code of conduct"
109
+ url: "code-of-conduct/"
110
+ contact:
111
+ thanks: thanks
112
+ share:
113
+ text: Share
114
+ icon: share-alt
115
+ items:
116
+ - title: Twitter
117
+ url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%tags"
118
+ icon: twitter
119
+ - title: Facebook
120
+ url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
121
+ icon: facebook-official
122
+ - title: Whatsapp
123
+ url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
124
+ icon: whatsapp
125
+ - title: Telegram
126
+ url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
127
+ icon: telegram
128
+ - title: Tumblr
129
+ url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%tags"
130
+ icon: tumblr
131
+ - title: Reddit
132
+ url: "https://reddit.com/submit?url=%url&title=%tags%20-%20%title"
133
+ icon: reddit
134
+ - title: E-mail
135
+ url: "mailto:?subject=%title&body=%description%0A%0A%url"
136
+ icon: envelope
137
+ - title: Fediverse
138
+ url: "https://fediverse.sutty.nl/en/?u=%url&t=%title&d=%description%20%tags"
139
+ icon: mastodon-alt
140
+ accessibility:
141
+ jump_to_content: Saltar al contenido
142
+ active: (actual)
143
+ close: Cerrar
144
+ search:
145
+ title: Resultados
146
+ label: Término de búsqueda
147
+ submit: Buscar
148
+ units:
149
+ size:
150
+ name: cm.
151
+ divider: 10
data/_data/es.yml CHANGED
@@ -1,13 +1,77 @@
1
1
  ---
2
2
  locale: Castellano
3
- date: '%d/%m/%Y'
3
+ countries:
4
+ validation: Elige un país de la lista
5
+ states:
6
+ validation: Elige una provincia/estado de la lista
7
+ recover_order: Rehacer el pedido
8
+ alerts:
9
+ incorrect_password: Estás registrade pero la contraseña es incorrecta, podés intentar de nuevo o continuar la compra como invitade.
10
+ successful_login: Iniciaste sesión, tu pedido se agregará a tu historia de compras.
11
+ successful_signup: ¡Gracias por registrarte!
12
+ error: 'Hubo un error al comunicarse con la tienda, te invitamos a intentar en unos minutos :('
13
+ no_response_error: 'Hubo un error al comunicarse con la tienda, te invitamos a intentar en unos minutos :('
14
+ spree_error: 'Hubo un error al comunicarse con la tienda, te invitamos a intentar en unos minutos :('
15
+ recover_order: 'No encontramos el pedido en la tienda'
16
+ select_format: 'Seleccionar formato:'
17
+ date:
18
+ format: '%d/%m/%Y'
19
+ abbr_day_names:
20
+ - Lun
21
+ - Mar
22
+ - Mié
23
+ - Jue
24
+ - Vie
25
+ - Sáb
26
+ - Dom
27
+ day_names:
28
+ - Lunes
29
+ - Martes
30
+ - Miércoles
31
+ - Jueves
32
+ - Viernes
33
+ - Sábado
34
+ - Domingo
35
+ abbr_month_names:
36
+ - Ene
37
+ - Feb
38
+ - Mar
39
+ - Abr
40
+ - May
41
+ - Jun
42
+ - Jul
43
+ - Ago
44
+ - Sep
45
+ - Oct
46
+ - Nov
47
+ - Dic
48
+ month_names:
49
+ - Enero
50
+ - Febrero
51
+ - Marzo
52
+ - Abril
53
+ - Mayo
54
+ - Junio
55
+ - Julio
56
+ - Agosto
57
+ - Septiembre
58
+ - Octubre
59
+ - Noviembre
60
+ - Diciembre
61
+ time:
62
+ am: am
63
+ pm: pm
64
+ layouts:
65
+ post: Artículo
66
+ book: Libro
67
+ editorial: Acerca
68
+ cart: Carrito
69
+ confirmation: Confirmación de compra
70
+ payment: Pago
71
+ shipment: Envío
72
+ menu: Menú
4
73
  menu:
5
74
  title: Menú principal
6
- items:
7
- - text: Catálogo
8
- url: ''
9
- - text: Acerca
10
- url: '{{ editorial.url }}'
11
75
  book:
12
76
  pages: "Páginas"
13
77
  size: "Tamaño"
@@ -37,9 +101,7 @@ book:
37
101
  schema: BankTransferInAdvance
38
102
  text: Transferencia bancaria
39
103
  footer:
40
- made_with_sutty: |
41
- Sitio hecho con [Sutty](https://sutty.nl/es/). [Publicá el tuyo
42
- :)](https://panel.sutty.nl/).
104
+ made_with_sutty: "Sitio hecho con [Sutty](https://sutty.nl/es/). [Publicá el tuyo :)](https://panel.sutty.nl/)."
43
105
  links:
44
106
  - text: "Política de privacidad"
45
107
  url: "politica-de-privacidad/"
@@ -47,25 +109,43 @@ footer:
47
109
  url: "codigo-de-conducta/"
48
110
  contact:
49
111
  thanks: gracias
50
- form:
51
- fields:
52
- - type: "text"
53
- autocomplete: "sex"
54
- name: "pronouns"
55
- label: "Pronombres"
56
- placeholder: "¿Qué pronombres usás?"
57
- - type: "text"
58
- autocomplete: "name"
59
- name: "name"
60
- label: "Nombre"
61
- placeholder: "Nombre elegido, pseudónimo, alias"
62
- - type: "email"
63
- autocomplete: "email"
64
- name: "from"
65
- label: "Correo electrónico"
66
- - type: "street-address"
67
- name: "contact"
68
- label: "Dirección de envío / Otra forma de contacto"
69
- body: Mensaje
70
- gdpr: Acepto las políticas de privacidad
71
- submit: Enviar
112
+ share:
113
+ text: Compartir
114
+ icon: share-alt
115
+ items:
116
+ - title: Twitter
117
+ url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%tags"
118
+ icon: twitter
119
+ - title: Facebook
120
+ url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
121
+ icon: facebook-official
122
+ - title: Whatsapp
123
+ url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
124
+ icon: whatsapp
125
+ - title: Telegram
126
+ url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
127
+ icon: telegram
128
+ - title: Tumblr
129
+ url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%tags"
130
+ icon: tumblr
131
+ - title: Reddit
132
+ url: "https://reddit.com/submit?url=%url&title=%tags%20-%20%title"
133
+ icon: reddit
134
+ - title: Correo
135
+ url: "mailto:?subject=%title&body=%description%0A%0A%url"
136
+ icon: envelope
137
+ - title: Fediverso
138
+ url: "https://fediverse.sutty.nl/es/?u=%url&t=%title&d=%description%20%tags"
139
+ icon: mastodon-alt
140
+ accessibility:
141
+ jump_to_content: Saltar al contenido
142
+ active: (actual)
143
+ close: Cerrar
144
+ search:
145
+ title: Resultados
146
+ label: Término de búsqueda
147
+ submit: Buscar
148
+ units:
149
+ size:
150
+ name: cm.
151
+ divider: 10
@@ -0,0 +1,71 @@
1
+ ---
2
+ firstname:
3
+ type: 'string'
4
+ required: true
5
+ label:
6
+ es: Nombre
7
+ autocomplete: given-name
8
+ error:
9
+ es: El nombre es obligatorio
10
+ lastname:
11
+ type: 'string'
12
+ required: true
13
+ label:
14
+ es: Apellido
15
+ autocomplete: family-name
16
+ error:
17
+ es: El apellido es obligatorio
18
+ address1:
19
+ type: 'string'
20
+ required: true
21
+ label:
22
+ es: Calle y número
23
+ autocomplete: address-line1
24
+ error:
25
+ es: La dirección es obligatoria
26
+ city:
27
+ type: 'string'
28
+ required: true
29
+ label:
30
+ es: Ciudad
31
+ autocomplete: city
32
+ error:
33
+ es: La ciudad es obligatoria
34
+ country_id:
35
+ type: 'country'
36
+ required: true
37
+ group: billing_address
38
+ autocomplete: country-name
39
+ label:
40
+ es: País
41
+ help:
42
+ es: Comenzar a escribir para filtrar
43
+ error:
44
+ es: El país debe estar en la lista
45
+ state_id:
46
+ type: 'state'
47
+ required: true
48
+ group: billing_address
49
+ label:
50
+ es: Provincia / Estado
51
+ help:
52
+ es: Comenzar a escribir para filtrar
53
+ error:
54
+ es: La provincia debe estar en la lista
55
+ zipcode:
56
+ type: 'postal_code'
57
+ group: billing_address
58
+ required: true
59
+ label:
60
+ es: Código postal
61
+ autocomplete: postal-code
62
+ error:
63
+ es: El código postal no tiene el formato correcto
64
+ phone:
65
+ type: 'string'
66
+ required: true
67
+ label:
68
+ es: Teléfono
69
+ autocomplete: tel
70
+ error:
71
+ es: El teléfono es obligatorio