Added UserComments - Schema
This commit is contained in:
parent
cc25865283
commit
e301875077
@ -1,4 +1,4 @@
|
|||||||
<div class="comments-content">
|
<div class="comments-content" itemscope itemtype="http://schema.org/UserComments">
|
||||||
<!-- comment header -->
|
<!-- comment header -->
|
||||||
<div class="comments-header has-text-centered">
|
<div class="comments-header has-text-centered">
|
||||||
<p class="title is-4">{{ _('Comentarios') }}</p>
|
<p class="title is-4">{{ _('Comentarios') }}</p>
|
||||||
@ -31,8 +31,9 @@
|
|||||||
<!-- comment content -->
|
<!-- comment content -->
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<div class="content" itemprop="creator" itemscope itemtype="http://schema.org/Person">
|
||||||
{% if comment.web %}
|
{% if comment.web %}
|
||||||
<p>
|
<p itemprop="name">
|
||||||
<strong>
|
<strong>
|
||||||
<a href="{{ comment.web }}"
|
<a href="{{ comment.web }}"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
@ -40,13 +41,19 @@
|
|||||||
</strong>
|
</strong>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p><strong>{{ comment.author }}</strong></p>
|
<p itemprop="name"><strong>{{ comment.author }}</strong></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
<div class="content" itemprop="commentText">
|
||||||
{{ comment.content }}
|
{{ comment.content }}
|
||||||
|
</div>
|
||||||
|
<time class="entry-date published" itemprop="commentTime" datetime="{{ comment.date.isoformat() }}">
|
||||||
<small>
|
<small>
|
||||||
<a href="{{ SITEURL }}/{{ article.url }}#comment-{{comment.slug}}" title='Permalink'>
|
<a href="{{ SITEURL }}/{{ article.url }}#comment-{{comment.slug}}" title='Permalink'>
|
||||||
<abbr title='{{ comment.date|strftime("%Y-%m-%d-T%H-%M-%S") }}'>{{ _('Enlace Permanente') }}</abbr>
|
<abbr title='{{ comment.date|strftime("%Y-%m-%d-T%H-%M-%S") }}'>{{ _('Enlace Permanente') }}</abbr>
|
||||||
</a> | {{ comment.date|strftime("%H:%M:%S") }}</small>
|
</a> | {{ comment.date|strftime("%H:%M:%S") }}
|
||||||
|
</small>
|
||||||
|
</time>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of comment content -->
|
<!-- end of comment content -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user