summaryrefslogtreecommitdiffstats
path: root/server.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2022-04-26 17:34:13 -0230
committerSam Anthony <sam@samanthony.xyz>2022-04-26 17:34:13 -0230
commitb1a3d5e5ae2b2e8e28db187b98cab82f5717a931 (patch)
tree5491bc0cd2213248bad7c77f13d2dd8dee8d02ed /server.go
parent5ad2cb5fd0ff73db8263dda792e69508873f1de2 (diff)
downloadsamanthony.xyz-b1a3d5e5ae2b2e8e28db187b98cab82f5717a931.zip
add samanthony.xyz software page
Diffstat (limited to 'server.go')
-rw-r--r--server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.go b/server.go
index c0f9bb6..eff4ce9 100644
--- a/server.go
+++ b/server.go
@@ -96,7 +96,8 @@ func init() {
return nil
}
label := path[len(fp.Clean(root)):]
- tmpl[label] = template.Must(template.ParseFiles(fp.Join(root, "base.html"), path))
+ tmpl[label] = template.Must(template.ParseFiles(
+ fp.Join(root, "base.html"), path))
return nil
})
if err != nil {