about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 72b23be..e80155e 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -4,7 +4,7 @@
 			<ul class="posts">
 				{{ range .Data.Pages }}
 				<li>
-					<a href="{{ .Permalink }}">{{ .Title }}</a>
+					<a href="{{ .RelPermalink }}">{{ .Title }}</a>
 					<time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02 15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
 					<p class="summary">{{ .Summary }}</p>
 				</li>
diff --git a/layouts/index.html b/layouts/index.html
index 135644b..867eb66 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -16,7 +16,7 @@
 				<ul>
 					{{ range .Data.Pages }}
 					<li>
-						<a class="post-title" href="{{ .Permalink }}">{{ .Title }}</a>
+						<a class="post-title" href="{{ .RelPermalink }}">{{ .Title }}</a>
 						<time class="post-date">{{ .Date.Format "Monday, 2 January 2006" }}</time>
 					</li>
 					{{ end }}