diff options
author | Vitaly Takmazov | 2017-10-04 15:31:44 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-04 17:29:14 +0300 |
commit | 45a8cd55e8b28abc36884a28527b58842c5cee10 (patch) | |
tree | d7973654cbaecf8e88b6d0863691cfb6efe4b58e /juick-www/src/main/webapp/WEB-INF/views/thread.html | |
parent | a33ffed053db33a9abd425cd7d641f47e6ab8651 (diff) |
www: microdata
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/thread.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/thread.html | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html index 57d7e0a1..10fa9141 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -3,10 +3,10 @@ {% block content %} <ul> <li id="msg-{{ msg.mid }}" class="msg msgthread"> - <div class="msg-cont"> + <div class="msg-cont" itemscope="" itemtype="http://schema.org/BlogPosting" itemref="org"> <div class="msg-menu"><a href="#"><i data-icon="ei-link" data-size="s"></i></a></div> <div class="msg-ts"><a href="/{{ msg.user.name }}/{{ msg.mid }}"> - <time datetime="{{ msg.timestamp | timestamp | date('yyyy-MM-dd HH:mm:ss') }}Z" + <time itemprop="datePublished dateModified" datetime="{{ msg.timestamp | timestamp | date('yyyy-MM-dd HH:mm:ss') }}Z" title="{{ msg.timestamp | timestamp | date('yyyy-MM-dd HH:mm:ss') }} GMT"> {{ msg.timestamp | prettyTime }} </time> @@ -16,16 +16,19 @@ <a href="/{{ msg.user.name }}/"> <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a> </div> - <div class="msg-header">@<a href="/{{ msg.user.name }}/">{{ msg.user.name }}</a>: - <div class="msg-tags"> + <div class="msg-header"> + <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> + @<a itemprop="url" rel="author" href="/{{ msg.user.name }}/"><span itemprop="name">{{ msg.user.name }}</span></a>: + </span> + <div class="msg-tags" itemprop="headline"> {{ tags(msg.user.name, msg.tags | tagsList) }} </div> </div> - <div class="msg-txt">{{ msg | formatMessage }}</div> + <div class="msg-txt" itemprop="articleBody">{{ msg | formatMessage }}</div> {% if msg.AttachmentType is not empty %} <div class="msg-media"> <a href="//i.juick.com/p/{{ msg.mid }}.{{ msg.AttachmentType }}" data-fname="{{ msg.mid }}.{{ msg.AttachmentType }}"> - <img src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/> + <img itemprop="image" src="//i.juick.com/photos-512/{{ msg.mid }}.{{ msg.AttachmentType }}" alt=""/> </a> </div> {% endif %} |