diff options
author | Jesús <heckyel@hyperbola.info> | 2019-11-22 16:44:48 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-11-22 16:44:48 -0500 |
commit | 5bdea2bdd6909a757dfa75e156d685649fbc9e69 (patch) | |
tree | 8a9009aff47b8a561fcb087e5e5c84f00c46f6ff | |
parent | bb4767344dfe9a6989efe7bc43c12162381579f0 (diff) | |
download | cl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.tar.lz cl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.tar.xz cl-5bdea2bdd6909a757dfa75e156d685649fbc9e69.zip |
Fix seo_description remove quotes
-rw-r--r-- | cl-theme/templates/article.html | 3 |
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 --> |