further hcard work

This commit is contained in:
rra 2018-03-08 18:35:55 +01:00
parent 78fdc47f9f
commit eecf5457e9
2 changed files with 10 additions and 2 deletions

View File

@ -56,6 +56,12 @@ a:hover{
text-decoration: none; text-decoration: none;
} }
a.h-card{
color:black;
text-decoration: none;
}
hr, .separator hr { hr, .separator hr {
border:0; border:0;
border-top:1px dotted #7e5211; border-top:1px dotted #7e5211;
@ -164,6 +170,7 @@ header {
display: inline; display: inline;
} }
#stream{ #stream{
display: inline-block; display: inline-block;
} }

View File

@ -42,8 +42,9 @@
{% endif %} {% endif %}
</div> </div>
<div class="post-info"> <div class="post-info">
<a rel="author" class="p-author h-card" href="{{article.url}}">{{article.author}}</a> <a style="visibility:hidden;" rel="author" class="p-author h-card">{{article.author}}</a>
<time class="dt-published">{{article.date| strftime('%d %B %Y')}}</time> <time class="dt-published" datetime="{{article.date}}"></time>
<a class="u-url" href="{{article.url}}"></a>
{% if article.category %} {% if article.category %}
<div class="categories"> <div class="categories">
<span itemprop="articleSection"> <span itemprop="articleSection">