aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2022-12-31 18:49:02 -0700
committerBryson Steck <brysonsteck@protonmail.com>2022-12-31 18:49:02 -0700
commit29fe769b1e40f267c19faf3192f21910f15f4a81 (patch)
tree9eeb4e874e9f58320282d38b8dbc2bf030d7cc85 /layouts
parent0d7490b5f6b5b067687e9314c1be49a0d37ae43d (diff)
downloadwebsite-29fe769b1e40f267c19faf3192f21910f15f4a81.tar
website-29fe769b1e40f267c19faf3192f21910f15f4a81.tar.gz
website-29fe769b1e40f267c19faf3192f21910f15f4a81.tar.bz2
try to see if onion links are fixed
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>