aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 45a12d7..2e6c5be 100644
--- a/main.go
+++ b/main.go
@@ -102,7 +102,7 @@ var gemtextPage = template.Must(template.
"url": func(ctx *GemtextContext, s string) template.URL {
u, err := url.Parse(s)
if err != nil {
- return template.URL("error")
+ return "error"
}
u = ctx.URL.ResolveReference(u)