flounder

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

commit 961e4152251afdb819b0e16d4c8674dfc12e20d8
parent aa245354146f6bc92ede1442e284055f4a98016a
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue,  8 Dec 2020 22:36:42 -0800

quick bug fix

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

diff --git a/templates/edit_file.html b/templates/edit_file.html @@ -1,5 +1,5 @@ {{template "header" .}} -<h2>Editing <a href="//{{.AuthUser}}.{{.Host}}/{{.FileName}}">{{.FileName}}</a></h2> +<h2>Editing <a href="//{{.AuthUser.Username}}.{{.Host}}/{{.FileName}}">{{.FileName}}</a></h2> <form id="edit-form" action="/edit/{{.FileName}}" method="POST"> <label for="rename">Rename:</label> <input type="text" value="{{.FileName}}" id="rename" name="rename">