diff --git a/assets/templates/alert.html b/assets/templates/alert.html index 1ef923d..2e3d840 100644 --- a/assets/templates/alert.html +++ b/assets/templates/alert.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %} -{%- endraw -%} +{% endraw %} diff --git a/assets/templates/cart.html b/assets/templates/cart.html index 6c3ecca..e7612e5 100644 --- a/assets/templates/cart.html +++ b/assets/templates/cart.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %} {% for product in products %}
{% endfor %} -{%- endraw -%} +{% endraw %} diff --git a/assets/templates/confirmation.html b/assets/templates/confirmation.html index 605b1ef..9efc5cf 100644 --- a/assets/templates/confirmation.html +++ b/assets/templates/confirmation.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %}
{{ site.confirmation.number }}
@@ -64,4 +64,4 @@
-{%- endraw -%} +{% endraw %} diff --git a/assets/templates/payment_methods.html b/assets/templates/payment_methods.html index e83f8a2..450b47f 100644 --- a/assets/templates/payment_methods.html +++ b/assets/templates/payment_methods.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %}
-{%- endraw -%} +{% endraw %} diff --git a/assets/templates/recover_order.html b/assets/templates/recover_order.html index 44bb347..29e372f 100644 --- a/assets/templates/recover_order.html +++ b/assets/templates/recover_order.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %} -{%- endraw -%} +{% endraw %} diff --git a/assets/templates/results.html b/assets/templates/results.html index 65c0e11..31d7d80 100644 --- a/assets/templates/results.html +++ b/assets/templates/results.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %}
{% for item in results %} @@ -16,4 +16,4 @@ {% endfor %}
-{%- endraw -%} +{% endraw %} diff --git a/assets/templates/shipping_methods.html b/assets/templates/shipping_methods.html index 2bb7464..a2e5d5e 100644 --- a/assets/templates/shipping_methods.html +++ b/assets/templates/shipping_methods.html @@ -1,4 +1,4 @@ -{%- raw -%} +{% raw %}
@@ -35,4 +35,4 @@
-{%- endraw -%} +{% endraw %} diff --git a/env.js b/env.js index 0050c7f..ea9850c 100644 --- a/env.js +++ b/env.js @@ -32,7 +32,7 @@ window.site = { Liquid dentro de assets/templates/ y luego las importamos acá, de forma que estén disponibles para JS sin tener que descargarlas. - Es importante que la plantilla esté envuelta por el tag `{% raw %}`, + Es importante que la plantilla esté envuelta por el tag `raw`, para que no sea procesado en el momento de generar env.js, sino en el navegador. {%- endcomment -%}