Fixed location markup in sidebar
the build was successful

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2018-09-30 14:39:22 +02:00
parent e15478ef83
commit 879989c621
+6 -1
View File
@@ -13,7 +13,12 @@
<header> <header>
<h6 itemprop="name about"><a href="{{ event.url | relative_url }}">{{ event.title }}</a></h6> <h6 itemprop="name about"><a href="{{ event.url | relative_url }}">{{ event.title }}</a></h6>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li><span class="far fa-map-marker"></span> <span itemprop="location">{{ event.location }}</span></li> <li><span class="far fa-map-marker"></span>
<div class="d-inline" itemprop="location" itemscope itemtype="http://schema.org/Place">
<span itemprop="name">{{ event.location }}</span>
<span class="invisible" itemprop="address">{{ event.location }}</span>
</div>
</li>
<li> <li>
<span class="far fa-calendar-alt"></span> <span class="far fa-calendar-alt"></span>
<time datetime="{{ event.start_date | date_to_xmlschema }}" itemprop="startDate"> <time datetime="{{ event.start_date | date_to_xmlschema }}" itemprop="startDate">