Browse Source

further hcard work

transformations
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; 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;
} }

5
themes/varia/templates/article.html

@ -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">

Loading…
Cancel
Save