* Fix icalendar validation errors
* Add RSS feed to documents
* Add stuff to meta: opengraph, canonical
* Add SEO robots meta elements
* Fix correct page titles
* Add more semantics to HTML
* Remove breadcrumbs from templates
* Render breadcrumbs in layout
Each controller should provide their own breadcrumb
trail as a list of tuples, where each tuple is the
pair of a slugified key and a human readable label.
Example:
[{"blog", "Webblogg"}]
[{"blog", "Webblogg"}, "2024", "2024"]
* Add CSS util class to show content only to screen readers
* Load interactive event map only on events page
* Decrease home logo size
* Use correct HTML element for time
* Improve Home page HTML semantics
* Add Person RFDa to footer
* Add RDFa to articles: annual, item, articles
* Enrich links semantics using RDFa
* Enrich Page semantics using RDFa
* Enrich Album semantics using RFDa
* Enrich Event semantics with RDFa
39 lines
1.6 KiB
Text
39 lines
1.6 KiB
Text
<a href="#content" class="skiplink">Hoppa till innehållet</a>
|
|
|
|
<nav role="menu">
|
|
<div>
|
|
<span class="sr-only">Du är här:</span>
|
|
<span class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
|
|
<span itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href="/" rel="home">
|
|
<span itemprop="name">madr.se</span>
|
|
</a>
|
|
<meta itemprop="position" content="1" />
|
|
</span>
|
|
<%= for {index, {parent_slug, parent_name}} <- breadcrumbs(@breadcrumbs) do %>
|
|
<span class="sr-only">></span>
|
|
<span itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href={parent_slug}>
|
|
<span itemprop="name"><%= parent_name %></span>
|
|
</a>
|
|
<meta itemprop="position" content={index} />
|
|
</span>
|
|
<% end %>
|
|
</span>
|
|
</div>
|
|
</nav>
|
|
<main id="content" role="main">
|
|
<%= @inner_content %>
|
|
</main>
|
|
<%= if show_footer?(assigns) do %>
|
|
<footer role="contentinfo">
|
|
<p vocab="https://schema.org/" typeof="Person">
|
|
<a href="https://madr.se" property="url">madr.se</a>
|
|
är <span property="name">Anders Englöf Ytterström</span>s hemsida. Anders är <span property="jobTitle">webbutvecklare</span>, linuxentusiast, ljudtekniker och hårdrockare, bosatt i <span
|
|
property="address"
|
|
typeof="PostalAddress"
|
|
><span property="addressLocality">Borlänge</span> (<span property="addressRegion">Dalarna</span>)</span>.
|
|
Läs <a href="/colophon">kolofonen</a>.
|
|
</p>
|
|
</footer>
|
|
<% end %>
|