summaryrefslogtreecommitdiff
path: root/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates.go')
-rw-r--r--templates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates.go b/templates.go
index 408085c..31fe48a 100644
--- a/templates.go
+++ b/templates.go
@@ -18,7 +18,7 @@ type templates struct {
}
func (w *Webpage) getTemplateRoot() fs.FS {
- if w.isDynamic() {
+ if w.IsDynamic() {
return w.templates.dynamicRoot
}
return w.templates.staticRoot