Fix html5 markup
This commit is contained in:
parent
b68825e93b
commit
eb2fa5c9ba
3 changed files with 13 additions and 10 deletions
|
|
@ -8,7 +8,7 @@ feed:
|
||||||
-----
|
-----
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<img src="/img/logo-klein.png" class="pull-right" />
|
<img src="/img/logo-klein.png" alt="CCCS-Logo" class="pull-right" />
|
||||||
<h1>Herzlich willkommen beim CCC Stuttgart</h1>
|
<h1>Herzlich willkommen beim CCC Stuttgart</h1>
|
||||||
<p>
|
<p>
|
||||||
<strong>Neu hier?</strong> Schau' doch bei <a href="/about/">unserer Beschreibung über uns</a>
|
<strong>Neu hier?</strong> Schau' doch bei <a href="/about/">unserer Beschreibung über uns</a>
|
||||||
|
|
|
||||||
|
|
@ -54,13 +54,13 @@
|
||||||
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %>
|
<% render("#{@item[:kind]}_body") do %><%= yield %><% end %>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footerimage">
|
<div id="footerimage">
|
||||||
<img src="/img/silhouette.png">
|
<img alt="Silhouette" src="/img/silhouette.png">
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<ul class="horizontal">
|
<ul class="horizontal">
|
||||||
<li class="icon-twitter-sign"><a href="https://twitter.com/cccs_de/">twitter</a></li>
|
<li class="icon-twitter-sign"><a href="https://twitter.com/cccs_de/">twitter</a></li>
|
||||||
<li class="icon-github"><a href="https://github.com/cccs/">github</a></li>
|
<li class="icon-github"><a href="https://github.com/cccs/">github</a></li>
|
||||||
<li class="pull-right"><a href="/imprint">Impressum <img src="/img/cc-by-nc-sa-small.png" /></a></li>
|
<li class="pull-right"><a href="/imprint">Impressum <img alt="(CC) by-nc-sa" src="/img/cc-by-nc-sa-small.png" /></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -39,19 +39,22 @@
|
||||||
<% if @item[:location] %>
|
<% if @item[:location] %>
|
||||||
<li class="icon-compass commaseparated" title="Ort">
|
<li class="icon-compass commaseparated" title="Ort">
|
||||||
<ul itemprop="location" itemscope itemtype="http://schema.org/Location">
|
<ul itemprop="location" itemscope itemtype="http://schema.org/Location">
|
||||||
<li itemprop="name"><% if item[:location][:url] %><a itemprop="url" href="<%= item[:location][:url] %>"><%= item[:location][:name] %></a><% else %><%= item[:location][:name] %><% end %>
|
<li itemprop="name"><% if item[:location][:url] %><a itemprop="url" href="<%= item[:location][:url] %>"><%= item[:location][:name] %></a><% else %><%= item[:location][:name] %><% end %></li>
|
||||||
<% if item[:location][:details] %><li><%= item[:location][:details] %><% end %>
|
<% if item[:location][:details] %><li><%= item[:location][:details] %></li><% end %>
|
||||||
<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
|
<li itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
|
||||||
<% if item[:location][:strasse] %><li itemprop="streetAddress"><%= item[:location][:strasse] %><% end %>
|
<ul class="commaseparated">
|
||||||
<% if item[:location][:ort] %><li><span itemprop="postalCode"><%= item[:location][:plz] %></span> <span itemProp="addressLocality"><%= item[:location][:ort] %></span><% end %>
|
<% if item[:location][:strasse] %><li itemprop="streetAddress"><%= item[:location][:strasse] %></li><% end %>
|
||||||
</span>
|
<% if item[:location][:ort] %><li><span itemprop="postalCode"><%= item[:location][:plz] %></span> <span itemProp="addressLocality"><%= item[:location][:ort] %></span></li><% end %>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<% if item[:location][:lon] %>
|
<% if item[:location][:lon] %>
|
||||||
<li>
|
<li>
|
||||||
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
|
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
|
||||||
N<span itemprop="latitude"><%= item[:location][:lat] %></span>
|
N<span itemprop="latitude"><%= item[:location][:lat] %></span>
|
||||||
E<span itemprop="longitude"><%= item[:location][:lon] %></span>
|
E<span itemprop="longitude"><%= item[:location][:lon] %></span>
|
||||||
</span>
|
</span>
|
||||||
(<a itemprop="map" href="http://www.openstreetmap.org/?mlat=<%= item[:location][:lat] %>&mlon=<%= item[:location][:lon] %>&zoom=18#map=16/<%= item[:location][:lat] %>/<%= item[:location][:lon] %>">Karte</a>)
|
(<a itemprop="map" href="http://www.openstreetmap.org/?mlat=<%= item[:location][:lat] %>&mlon=<%= item[:location][:lon] %>&zoom=18#map=16/<%= item[:location][:lat] %>/<%= item[:location][:lon] %>">Karte</a>)
|
||||||
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue