about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-09-06 19:45:50 +0100
committerAlan Pearce2014-09-06 19:46:06 +0100
commitf0d1e4ce1cc1ff9239460d7e526c7a26d1c48c8a (patch)
tree1e7136a5b746aa8ceb718c2d97b9f46787c75e8f
parente7e5877d1f84576ca16a8a918ed867dc521b7a8f (diff)
downloadhyde-f0d1e4ce1cc1ff9239460d7e526c7a26d1c48c8a.tar.lz
hyde-f0d1e4ce1cc1ff9239460d7e526c7a26d1c48c8a.tar.zst
hyde-f0d1e4ce1cc1ff9239460d7e526c7a26d1c48c8a.zip
Add h-card metadata to sidebar
-rw-r--r--layouts/partials/sidebar.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index ba5da01..1570254 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -1,9 +1,9 @@
 		<aside class="sidebar container">
-			<header class="sidebar-about" itemprop="author" itemscope itemtype="http://schema.org/Person">
+			<header class="sidebar-about h-card vcard" itemprop="author" itemscope itemtype="http://schema.org/Person">
 				{{ if eq .Title .Site.Title }}
-				<h1 class="site-title" itemprop="name">{{ .Site.Title }}</h1>
+				<h1 class="site-title u-name fn" itemprop="name">{{ .Site.Title }}</h1>
 				{{ else }}
-				<span class="site-title" itemprop="name">{{ .Site.Title }}</span>
+				<span class="site-title u-name fn" itemprop="name">{{ .Site.Title }}</span>
 				{{ end }}
 
 				<p class="lead">
@@ -12,7 +12,7 @@
 
 				<nav>
 					<ul class="sidebar-nav">
-						<li><a href="/" itemprop="url">Home</a> </li>
+						<li><a href="/" class="u-url url" itemprop="url">Home</a> </li>
 						{{ range $key, $value := .Site.Taxonomies.categories }}
 						<li>
 							<a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a>
@@ -27,7 +27,7 @@
 				<aside class="contact">
 					<h3 class="contact-head">Contact me</h3>
 					<ul class="contact-list">
-						<li><a href="mailto:alan@alanpearce.uk" rel="me"><span itemprop="email">alan@alanpearce.uk</span></a></li>
+						<li><a class="u-email email" href="mailto:alan@alanpearce.uk" rel="me"><span itemprop="email">alan@alanpearce.uk</span></a></li>
 						{{ range $text, $uri := .Site.Params.author.urls }}
 						<li><a itemprop="url" href="{{ $uri }}" rel="me">{{ $text }}</a></li>
 						{{ end }}