all repos — flounder @ bb9c710d0ee19b314dc8806a153e99003196859e

A small site builder for the Gemini protocol

Add host when parent nav is just /
alex wennerberg alex@alexwennerberg.com
Wed, 27 Jan 2021 20:44:04 -0800
commit

bb9c710d0ee19b314dc8806a153e99003196859e

parent

6786b7479b3193417970da3e7365916b5f384bc7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M templates/user_page.htmltemplates/user_page.html

@@ -17,7 +17,7 @@ {{ if ne .URI.Path "/"}}

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