aboutsummaryrefslogtreecommitdiffstats
path: root/internal/port/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/port/main.go')
-rw-r--r--internal/port/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/port/main.go b/internal/port/main.go
index 763057b..fe85ba4 100644
--- a/internal/port/main.go
+++ b/internal/port/main.go
@@ -237,9 +237,15 @@ func ListenAndServe(bind, startpagefile string, robotsfile string, robotsdebug b
237 "hasPrefix": func(s string, prefix string) bool { 237 "hasPrefix": func(s string, prefix string) bool {
238 return strings.HasPrefix(s, prefix) 238 return strings.HasPrefix(s, prefix)
239 }, 239 },
240 "hasSuffix": func(s string, suffix string) bool {
241 return strings.HasSuffix(s, suffix)
242 },
240 "title": func(s string) string { 243 "title": func(s string) string {
241 return strings.Title(s) 244 return strings.Title(s)
242 }, 245 },
246 "string": func(s interface{}) string {
247 return fmt.Sprint(s)
248 },
243 } 249 }
244 250
245 // 251 //