try to see if onion links are fixed

This commit is contained in:
Bryson Steck 2022-12-31 18:49:02 -07:00
parent 0d7490b5f6
commit 29fe769b1e
4 changed files with 6 additions and 4 deletions

View file

@ -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)

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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>