Browse Source

further hcard work

master
rra 7 years ago
parent
commit
eecf5457e9
  1. 7
      themes/varia/static/css/main.css
  2. 5
      themes/varia/templates/article.html

7
themes/varia/static/css/main.css

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

5
themes/varia/templates/article.html

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

Loading…
Cancel
Save