clean-up
This commit is contained in:
parent
47e78a0d56
commit
0a62476203
@ -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 #}
|
||||
|
Loading…
x
Reference in New Issue
Block a user