about summary refs log tree commit diff stats
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorAlan Pearce2017-06-17 17:49:45 +0200
committerAlan Pearce2017-06-17 17:49:45 +0200
commit987cab567c5fc9bed00bf11b8693b44d40564e5e (patch)
tree1ab56d779e8b335f37554bc21dea0977277add3f /layouts/_default/list.html
parent1a1d3f173ea77f8d74cc04b4abf37f3ef02330cf (diff)
downloadhyde-987cab567c5fc9bed00bf11b8693b44d40564e5e.tar.lz
hyde-987cab567c5fc9bed00bf11b8693b44d40564e5e.tar.zst
hyde-987cab567c5fc9bed00bf11b8693b44d40564e5e.zip
Add canonical u-urls to posts
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 948a5e6..e401596 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,7 +5,7 @@
 			<ul class="posts">
 				{{ range .Data.Pages }}
 				<li itemscope itemtype="http://schema.org/BlogPosting">
-					<a class="post-title" itemprop="url" href="{{ .RelPermalink | replaceRE "/$" "" }}"><span itemprop="name">{{ .Title }}<span></a>
+					<a class="post-title u-url" itemprop="url" href="{{ .Permalink | replaceRE "/$" "" }}"><span itemprop="name">{{ .Title }}<span></a>
 					<time class="post-date" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
 				</li>
 				{{ end }}