about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorAlan Pearce2014-07-20 12:58:54 +0100
committerAlan Pearce2014-07-20 13:10:24 +0100
commitc962d9fb8949523283fcde7c12f4fa30610d2cbc (patch)
tree542e4d5732740d9bbd0f3d1775f53f0c9e2f3184 /layouts
parent7460a8f1d966d64e6371a1b2fe002c3fb04bcb12 (diff)
downloadhyde-c962d9fb8949523283fcde7c12f4fa30610d2cbc.tar.lz
hyde-c962d9fb8949523283fcde7c12f4fa30610d2cbc.tar.zst
hyde-c962d9fb8949523283fcde7c12f4fa30610d2cbc.zip
Move BlogPosting scope to body element
Correctly associate author from sidebar
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 1f8ed71..98435c5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,7 @@
 {{ template "theme/partials/head.html" . }}
-	<body class="theme-base-0b layout-reverse">
+	<body class="theme-base-0b layout-reverse" itemscope itemtype="http://schema.org/BlogPosting">
 		<main class="content container" role="main">
-			<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
+			<article class="post">
 				<header>
 					<h1 class="post-title" itemprop="name">{{ .Title }}</h1>
 					<time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}" itemprop="datePublished">{{ .Date.Format "Monday, 2 January 2006" }}</time>