aboutsummaryrefslogtreecommitdiff
path: root/page/main.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-11-24 23:20:54 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-11-24 23:20:54 -0500
commitd83f4bca3f7026696a41225caac11807ed06fc2f (patch)
tree634552e0253407785f81cb28cf136fadec4d65e4 /page/main.go
parent2203a437cc7ba0ca087a47d6e99476ba5e09ae71 (diff)
downloadgo-website-0.0.11.tar.gz
go-website-0.0.11.tar.xz
Add more comments. Expand the interface. Allow templates to more easily be rendered with external variables.v0.0.11
Diffstat (limited to 'page/main.go')
-rw-r--r--page/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/page/main.go b/page/main.go
index ebcf33d..da7feec 100644
--- a/page/main.go
+++ b/page/main.go
@@ -9,4 +9,5 @@ import (
type Page interface {
Render(io.Writer) error
RebuildIndex() error
+ SetVars(map[string]interface{})
}