Fix seo_description remove quotes
This commit is contained in:
parent
bb4767344d
commit
5bdea2bdd6
@ -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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user