about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorAlan Pearce2014-09-06 19:52:43 +0100
committerAlan Pearce2014-09-06 19:52:43 +0100
commitc7b7b93958b2d02fe031cdb65be26f203f1976bb (patch)
tree59c8153caa2568c3b191208845efc9f1874b0ef8 /layouts
parentf0d1e4ce1cc1ff9239460d7e526c7a26d1c48c8a (diff)
downloadhyde-c7b7b93958b2d02fe031cdb65be26f203f1976bb.tar.lz
hyde-c7b7b93958b2d02fe031cdb65be26f203f1976bb.tar.zst
hyde-c7b7b93958b2d02fe031cdb65be26f203f1976bb.zip
Add h-entry metadata to posts
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 39a71c2..984fcab 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,12 +1,12 @@
 {{ partial "head.html" . }}
-	<body class="theme-base-0b layout-reverse" itemscope itemtype="http://schema.org/BlogPosting">
+	<body class="theme-base-0b layout-reverse h-entry" itemscope itemtype="http://schema.org/BlogPosting">
 		<main class="content container" role="main">
 			<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>
+					<h1 class="post-title p-name" itemprop="name">{{ .Title }}</h1>
+					<time class="post-date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}" itemprop="datePublished">{{ .Date.Format "Monday, 2 January 2006" }}</time>
 				</header>
-				<main class="post-content" itemprop="articleBody">
+				<main class="post-content e-content" itemprop="articleBody">
 					{{ .Content }}
 				</main>
 			</article>