diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | layouts/blog/list.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 4 | ||||
-rw-r--r-- | layouts/projects/list.html | 2 |
4 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,5 @@ # Bryson Steck's Website A simple blog and project showcase website built with Hugo. + +Hosted at [brysonsteck.xyz](https://brysonsteck.xyz) (or [here](http://ov7yfvdk2fm6rabssjnzto4ima6kzowxrilyhs7dax54n4pykj5wq5ad.onion) if you're based) 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> |