aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-11-22 16:44:48 -0500
committerJesús <heckyel@hyperbola.info>2019-11-22 16:44:48 -0500
commit5bdea2bdd6909a757dfa75e156d685649fbc9e69 (patch)
tree8a9009aff47b8a561fcb087e5e5c84f00c46f6ff
parentbb4767344dfe9a6989efe7bc43c12162381579f0 (diff)
downloadcl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.tar.lz
cl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.tar.xz
cl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.zip
Fix seo_description remove quotes
-rw-r--r--cl-theme/templates/article.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/cl-theme/templates/article.html b/cl-theme/templates/article.html
index 791bd54..cbe772b 100644
--- a/cl-theme/templates/article.html
+++ b/cl-theme/templates/article.html
@@ -30,7 +30,8 @@
{# Quita la última palabra para no dejarla incompleta #}
{% set seo_description = seo_description[:SEO_DESC_LENGTH].split(' ')[:-1]|join(' ') %}
{% if not seo_description[-1] in ['.', '?', ':', '!'] %}
- {% set seo_description = seo_description + '…' %}
+ {% set seo_more = seo_description + '…' %}
+ {% set seo_description = seo_more|replace('"','') %}
{% endif %}
{% endif %}
<!-- Meta Article -->