structured-data

This commit is contained in:
Jesús
2019-04-11 23:09:16 -05:00
parent 83d7c94539
commit 5240157115
3 changed files with 13 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
{% set mes = article.date|strftime('%m') %}
{% set nombre_mes = article.date|strftime('%B') %}
<time class="entry-date published"
datetime="{{ article.date.isoformat() }}">
datetime="{{ article.date.isoformat() }}" itemprop="datePublished">
<small>
{{ article.date|strftime('%a %-d') }}
<a href="{{ SITEURL }}/archives/{{ año }}/{{ mes }}/"
@@ -42,9 +42,10 @@
</svg>
</span>
{% for author in article.authors %}
<small>
<small itemprop="director" itemscope itemtype="http://schema.org/Person">
<a href="{{ SITEURL }}/{{ author.url }}"
title="{% trans %}Autor del artículo{% endtrans %}">{{ author }}</a>{% if not loop.last %}, {% endif %}
title="{% trans %}Autor del artículo{% endtrans %}"
itemprop="name">{{ author }}</a>{% if not loop.last %}, {% endif %}
</small>
{% endfor %}
{% endif %}