aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/section.html2
-rw-r--r--layouts/_default/taxonomy.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 2b159e4..b61e67e 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -25,7 +25,7 @@
{{ $element.Date.Format "01-02" }}
</span>
<span class="archive-post-title">
- <a href="{{ $element.URL }}" class="archive-post-link">
+ <a href="{{ $element.RelPermalink }}" class="archive-post-link">
{{ .Title }}
</a>
</span>
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 2be015a..83dba7c 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -21,7 +21,7 @@
{{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }}
</span>
<span class="archive-post-title">
- <a href="{{ .URL }}" class="archive-post-link">
+ <a href="{{ .RelPermalink }}" class="archive-post-link">
{{ .Title }}
</a>
</span>