{% extends "base.html" %} {% block html_lang %}{{ article.lang }}{% endblock %} {% block head %} {% block title %} {{ article.title }} - {{SITENAME}} {% endblock %} {{ super() }} {% import 'translations.html' as translations with context %} {% if translations.entry_hreflang(article) %} {{ translations.entry_hreflang(article) }} {% endif %} {% if article.styles %} {% for style in article.styles %} {{ style|format(SITEURL) }} {% endfor %} {% endif %} {% if article.js %} {% for script in article.js %} {% if 'top' in script[-7:] %} {{ script[:-5]|format(SITEURL) }} {% endif %} {% endfor %} {% endif %} {% block seo %} {% set seo_description = article.summary|striptags %} {% set SEO_DESC_LENGTH = 175 %} {% if seo_description|length >= SEO_DESC_LENGTH %} {# 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 + '…' %} {% endif %} {% endif %} {% if article.modified %} {% endif %} {% endblock %} {% endblock %} {% block content %}

{{ article.title }}

{% if article.toc %} {% endif %} {{ article.content }}

{{ _('Comentarios') }}

{% if article.comments %} {% for comment in article.comments %}

{% if comment.avatar %} {{ comment.author }} {% else %} {{ comment.author }} {% endif %}

{% if comment.web %}

{{ comment.author }}

{% else %}

{{ comment.author }}

{% endif %} {{ comment.content }} {{ _('Enlace Permanente') }} | {{ comment.date|strftime("%H:%M:%S") }}
{% endfor %} {% endif %}
{% if RELATIVE_URLS == False %} {% else %} {% endif %}

placeholder

{{ _('Puede formatear su comentario con') }} Markdown.

{% if DEFAULT_LANG == 'en' %} {{ _('Política de uso') }} {% elif DEFAULT_LANG == 'fr' %} {{ _('Política de uso') }} {% else %} {{ _('Política de uso') }} {% endif %}

{% endblock %}