diff options
author | Alan Pearce | 2014-07-19 18:38:17 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-19 18:38:17 +0100 |
commit | cae216e2ff5b6133e3040c8f1afdb164558f4214 (patch) | |
tree | 2cc391b80e87bb4c158d2c520cfd7a37865df9c6 /layouts/partials/sidebar.html | |
parent | 402123b85e869810c1e424f0e97edb7b9c6dc9dd (diff) | |
download | hyde-cae216e2ff5b6133e3040c8f1afdb164558f4214.tar.lz hyde-cae216e2ff5b6133e3040c8f1afdb164558f4214.tar.zst hyde-cae216e2ff5b6133e3040c8f1afdb164558f4214.zip |
Add author microdata to sidebar
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r-- | layouts/partials/sidebar.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 7cd5255..f88a7aa 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,7 +1,7 @@ - <aside class="sidebar"> + <aside class="sidebar" itemprop="author" itemscope itemtype="http://schema.org/Person"> <div class="container"> <header class="sidebar-about"> - <h1><a href="/">{{ .Site.Title }}</a></h1> + <h1 itemprop="name">{{ .Site.Title }}</h1> <p class="lead"> {{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}} </p> @@ -9,7 +9,7 @@ <nav> <ul class="sidebar-nav"> - <li><a href="/">Home</a> </li> + <li><a href="/" itemprop="url">Home</a> </li> {{ range $key, $value := .Site.Indexes.categories }} <li> <a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a> @@ -24,8 +24,8 @@ <aside class="contact"> <h3 class="contact-head">Contact me</h3> <ul class="contact-list"> - <li><a href="mailto:alan@alanpearce.uk">Email</a></li> - <li><a href="https://twitter.com/alanpearceuk">Twitter</a></li> + <li><a href="mailto:alan@alanpearce.uk" itemprop="email">alan@alanpearce.uk</a></li> + <li><a itemprop="url" href="https://twitter.com/alanpearceuk">Twitter</a></li> </ul> </aside> |