flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit bb9c710d0ee19b314dc8806a153e99003196859e
parent 6786b7479b3193417970da3e7365916b5f384bc7
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 27 Jan 2021 20:44:04 -0800

Add host when parent nav is just /

Diffstat:
Mtemplates/user_page.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/user_page.html b/templates/user_page.html @@ -17,7 +17,7 @@ {{ if ne $parent "/"}} <a href="{{parent .URI.Path}}/" title="Go to the parent directory">{{parent .URI.Path}}/</a> {{ else }} -<a href="{{parent .URI.Path}}" title="Go to the parent directory">{{parent .URI.Path}}</a> +<a href="{{parent .URI.Path}}" title="Go to the parent directory">{{.URI.Host}}/</a> {{ end }} <br> <br>