This commit is contained in:
Jesús 2019-11-17 15:12:43 -05:00
parent 47e78a0d56
commit 0a62476203
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -22,7 +22,6 @@
<meta property="article:modified_time" content="{{ article.modified.isoformat() }}">
{% endif %}
<meta property="article:section" content="{{ article.category }}">
{% set og_description = article.summary.split(ANOTHER_READ_MORE_LINK_FORMAT[:6])[0][3:]|striptags|escape %}
{% set OG_DESC_LENGTH = 175 %}
{% if og_description|length >= OG_DESC_LENGTH %}
{# Quita la última palabra para no dejarla incompleta #}