aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/list.html2
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/projects/list.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 2f2bb10..b48975e 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -3,7 +3,7 @@
<hr>
{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
<div class="list p-3 rounded-3">
-<a href="{{.Permalink}}">{{.Title}}</a>
+<a href="{{.RelPermalink}}">{{.Title}}</a>
<span><br>{{.Date.Format "January 2, 2006"}}</span>
</div>
{{ end }}
diff --git a/layouts/index.html b/layouts/index.html
index 478f8e9..e941f2b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,7 +4,7 @@
{{ range first 1 (where (where .Site.RegularPages "Section" "projects") "Params.nohtml" "!=" "true") }}
<div class="list p-3 rounded-3">
<img src="/{{ .Params.icon }}">
-<a href="{{.Permalink}}">{{.Title}}</a>
+<a href="{{.RelPermalink}}">{{.Title}}</a>
<p>{{ .Params.description }}</p>
<span>Started {{ .Date.Format "January 2, 2006" }}</span>
</div>
@@ -14,7 +14,7 @@
<hr>
{{ range first 4 (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
<div class="list p-3 rounded-3">
-<a href="{{.Permalink}}">{{.Title}}</a>
+<a href="{{.RelPermalink}}">{{.Title}}</a>
<span><br>{{.Date.Format "January 2, 2006"}}</span>
</div>
{{ end }}
diff --git a/layouts/projects/list.html b/layouts/projects/list.html
index 67c8921..3fe7eba 100644
--- a/layouts/projects/list.html
+++ b/layouts/projects/list.html
@@ -4,7 +4,7 @@
{{ range .Data.Pages.ByTitle }}
<div class="list p-3 rounded-3">
<img src="/{{ .Params.icon }}">
-<a href="{{.Permalink}}">{{.Title}}</a>
+<a href="{{.RelPermalink}}">{{.Title}}</a>
<p>{{ .Params.description }}</p>
{{ if .Params.current }}
<span>Started {{ .Date.Format "January 2, 2006" }}</span>