editorial-autogestiva-jekyll-theme 0.2.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/_config.yml +73 -0
  4. data/_data/en.yml +129 -27
  5. data/_data/es.yml +111 -31
  6. data/_data/forms/billing_address.yml +71 -0
  7. data/_data/forms/contacto.yml +2 -2
  8. data/_data/forms/shipping_address.yml +76 -0
  9. data/_data/forms/user.yml +11 -0
  10. data/_data/layouts/book.yml +82 -93
  11. data/_data/layouts/cart.yml +198 -0
  12. data/_data/layouts/confirmation.yml +68 -0
  13. data/_data/layouts/menu.yml +65 -0
  14. data/_data/layouts/payment.yml +114 -0
  15. data/_data/layouts/post.yml +0 -1
  16. data/_data/layouts/shipment.yml +126 -0
  17. data/_includes/cart.svg +1 -0
  18. data/_includes/cart_add.html +8 -0
  19. data/_includes/cart_controller.html +10 -0
  20. data/_includes/contact.html +6 -5
  21. data/_includes/content.html +1 -0
  22. data/_includes/country.html +53 -0
  23. data/_includes/editorial.html +24 -30
  24. data/_includes/file.html +35 -0
  25. data/_includes/floating_alert.html +6 -0
  26. data/_includes/footer.html +10 -8
  27. data/_includes/form/boolean.html +1 -1
  28. data/_includes/form/content.html +1 -0
  29. data/_includes/form/email.html +1 -1
  30. data/_includes/form/file.html +1 -0
  31. data/_includes/form/hidden.html +1 -1
  32. data/_includes/form/image.html +1 -0
  33. data/_includes/form/input.html +1 -1
  34. data/_includes/form/markdown_content.html +1 -0
  35. data/_includes/form/number.html +1 -1
  36. data/_includes/form/predefined_array.html +1 -1
  37. data/_includes/form/section.html +1 -1
  38. data/_includes/form/separator.html +1 -1
  39. data/_includes/form/string.html +1 -1
  40. data/_includes/form/submit.html +1 -1
  41. data/_includes/form/tel.html +1 -0
  42. data/_includes/form/text.html +1 -1
  43. data/_includes/form/url.html +1 -1
  44. data/_includes/image.html +32 -0
  45. data/_includes/input.html +14 -2
  46. data/_includes/item.html +38 -0
  47. data/_includes/markdown_content.html +1 -0
  48. data/_includes/menu.html +27 -0
  49. data/_includes/navbar.html +29 -25
  50. data/_includes/notification.html +5 -0
  51. data/_includes/password.html +1 -0
  52. data/_includes/picture.html +23 -0
  53. data/_includes/postal_code.html +45 -0
  54. data/_includes/preload_font.html +1 -0
  55. data/_includes/search.html +25 -0
  56. data/_includes/share.html +22 -0
  57. data/_includes/share_box.html +16 -0
  58. data/_includes/state.html +53 -0
  59. data/_includes/submit.html +1 -1
  60. data/_includes/tel.html +1 -0
  61. data/_layouts/book.html +42 -84
  62. data/_layouts/cart.html +72 -0
  63. data/_layouts/confirmation.html +15 -0
  64. data/_layouts/default.html +30 -10
  65. data/_layouts/home.html +23 -13
  66. data/_layouts/payment.html +21 -0
  67. data/_layouts/post.html +5 -5
  68. data/_layouts/shipment.html +49 -0
  69. data/_sass/accessibility.scss +37 -0
  70. data/_sass/editor.scss +8 -0
  71. data/_sass/embed.scss +5 -0
  72. data/_sass/floating_alert.scss +10 -0
  73. data/_sass/helpers.scss +318 -0
  74. data/_sass/logic.scss +17 -0
  75. data/_sass/menu.scss +20 -0
  76. data/_sass/share.html +12 -0
  77. data/_sass/share_box.html +16 -0
  78. data/_sass/share_box.scss +26 -0
  79. data/_sass/snap.scss +58 -0
  80. data/_sass/toggler.scss +39 -0
  81. data/assets/css/styles.scss +41 -5
  82. data/assets/data/site.json +24 -0
  83. data/assets/fonts/forkawesome-webfont.woff2 +0 -0
  84. data/assets/js/pack.js +16 -0
  85. data/assets/js/pack.js.map +1 -0
  86. data/assets/js/script.js +44 -0
  87. data/assets/templates/alert.html +7 -0
  88. data/assets/templates/cart.html +65 -0
  89. data/assets/templates/payment_methods.html +41 -0
  90. data/assets/templates/recover_order.html +11 -0
  91. data/assets/templates/results.html +17 -0
  92. data/assets/templates/shipping_methods.html +35 -0
  93. metadata +227 -29
  94. data/README.md.orig +0 -118
  95. data/_includes/contact.html.orig +0 -55
  96. data/_includes/navbar.html.orig +0 -44
  97. data/_sass/home.scss +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7292c5833189d4f7f9006f5bd180e4e2d96071d159449083574de39067bf4170
4
- data.tar.gz: 5c52becac753eb35242323c3e96b4dc9a762c40335928ad3afb00ef55a0571ce
3
+ metadata.gz: 7e6b203c88feeb91a1ee6acd1d929cbade089e777a74c5dcbf7274426f4ef48f
4
+ data.tar.gz: a9139bd671fa75243289d35a74d2c82cbad38cb10ebf6ed17c14f6ce0da87b45
5
5
  SHA512:
6
- metadata.gz: 7288ad50cae6390be83bff2318e0630fad2b028a4f40ce2fda97b332d39fe152c3b54328d486e4d9257bbcbad63b058340fb5166100f85a61ef43704ea0c5e97
7
- data.tar.gz: 02e465e387c31fb8d2fbb289df7dc34df28607169bc4294e3c41ffec8c544312c4cba7f409dadb76b61e9c61a70bc69e97e87a3def226673e3afdc8b634e11a0
6
+ metadata.gz: afc0d9395c2e68101a87d33cc957f34ff09342d6e26cd8700db4f2e8ec3107e6cf31c6c175c65cf35e474934ba75cffebdb86e85cabf41abf2a9d46312cad1fa
7
+ data.tar.gz: cd034581252f4210c129cc282ef0beb4e3a7e5a8243724d1ac04c06079e09fd043a2e4a1f0ea05eb3429430f59de4313dbd7236db7667b200da79656779c2734
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 CHANGED
@@ -1,49 +1,151 @@
1
1
  ---
2
- locale: English
3
- date: '%m/%d/%Y'
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
4
73
  menu:
5
- title: Main Menu
6
- items:
7
- - text: Catalogue
8
- url: ''
9
- - text: About
10
- url: '{{ editorial.url }}'
74
+ title: Menu
11
75
  book:
12
76
  pages: "Pages"
13
77
  size: "Size"
14
78
  availability: "Availability"
15
- in_stock: "En stock"
16
- out_of_stock: "Agotado temporalmente"
17
- payment_methods: "Métodos de pago"
18
- delivery_methods: "Métodos de entrega"
19
- payment_url: "Comprar"
20
- file: "Descargar"
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"
21
85
  direct_download:
22
86
  schema: DirectDownload
23
- text: Descarga
87
+ text: Download
24
88
  pick_up:
25
89
  schema: PickUp
26
- text: Retiro en domicilio
90
+ text: Pick up
27
91
  mail:
28
92
  schema: Mail
29
- text: Envío por correo
93
+ text: Mil
30
94
  cash:
31
95
  schema: Cash
32
- text: Efectivo
96
+ text: Cash
33
97
  direct_debit:
34
98
  schema: DirectDebit
35
- text: Débito
99
+ text: Direct debit
36
100
  bank_transfer_in_advance:
37
101
  schema: BankTransferInAdvance
38
- text: Transferencia bancaria
102
+ text: Bank transfer
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: 'Made with [Sutty](https://sutty.nl/es/). [Build yours :)](https://panel.sutty.nl/).'
43
105
  links:
44
- - text: "Política de privacidad"
45
- url: "politica-de-privacidad/"
46
- - text: "Código de conducta"
47
- url: "codigo-de-conducta/"
106
+ - text: "Privacy policy"
107
+ url: "privacy-policy/"
108
+ - text: "Code of conduct"
109
+ url: "code-of-conduct/"
48
110
  contact:
49
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