Added UserComments - Schema

This commit is contained in:
Jesús 2019-11-24 20:45:40 -05:00
parent cc25865283
commit e301875077
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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,22 +31,29 @@
<!-- comment content --> <!-- comment content -->
<div class="media-content"> <div class="media-content">
<div class="content"> <div class="content">
{% if comment.web %} <div class="content" itemprop="creator" itemscope itemtype="http://schema.org/Person">
<p> {% if comment.web %}
<strong> <p itemprop="name">
<a href="{{ comment.web }}" <strong>
rel="noopener noreferrer" <a href="{{ comment.web }}"
target="_blank">{{ comment.author }}</a> rel="noopener noreferrer"
</strong> target="_blank">{{ comment.author }}</a>
</p> </strong>
{% else %} </p>
<p><strong>{{ comment.author }}</strong></p> {% else %}
{% endif %} <p itemprop="name"><strong>{{ comment.author }}</strong></p>
{{ comment.content }} {% endif %}
<small> </div>
<a href="{{ SITEURL }}/{{ article.url }}#comment-{{comment.slug}}" title='Permalink'> <div class="content" itemprop="commentText">
<abbr title='{{ comment.date|strftime("%Y-%m-%d-T%H-%M-%S") }}'>{{ _('Enlace Permanente') }}</abbr> {{ comment.content }}
</a> | {{ comment.date|strftime("%H:%M:%S") }}</small> </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>
</div> </div>
<!-- end of comment content --> <!-- end of comment content -->