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 -->
|
||||
<div class="comments-header has-text-centered">
|
||||
<p class="title is-4">{{ _('Comentarios') }}</p>
|
||||
@ -31,22 +31,29 @@
|
||||
<!-- comment content -->
|
||||
<div class="media-content">
|
||||
<div class="content">
|
||||
{% if comment.web %}
|
||||
<p>
|
||||
<strong>
|
||||
<a href="{{ comment.web }}"
|
||||
rel="noopener noreferrer"
|
||||
target="_blank">{{ comment.author }}</a>
|
||||
</strong>
|
||||
</p>
|
||||
{% else %}
|
||||
<p><strong>{{ comment.author }}</strong></p>
|
||||
{% endif %}
|
||||
{{ comment.content }}
|
||||
<small>
|
||||
<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>
|
||||
</a> | {{ comment.date|strftime("%H:%M:%S") }}</small>
|
||||
<div class="content" itemprop="creator" itemscope itemtype="http://schema.org/Person">
|
||||
{% if comment.web %}
|
||||
<p itemprop="name">
|
||||
<strong>
|
||||
<a href="{{ comment.web }}"
|
||||
rel="noopener noreferrer"
|
||||
target="_blank">{{ comment.author }}</a>
|
||||
</strong>
|
||||
</p>
|
||||
{% else %}
|
||||
<p itemprop="name"><strong>{{ comment.author }}</strong></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="content" itemprop="commentText">
|
||||
{{ comment.content }}
|
||||
</div>
|
||||
<time class="entry-date published" itemprop="commentTime" datetime="{{ comment.date.isoformat() }}">
|
||||
<small>
|
||||
<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>
|
||||
</a> | {{ comment.date|strftime("%H:%M:%S") }}
|
||||
</small>
|
||||
</time>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end of comment content -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user