Add host when parent nav is just /
alex wennerberg alex@alexwennerberg.com
Wed, 27 Jan 2021 20:44:04 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
templates/user_page.html
→
templates/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>