From d83f4bca3f7026696a41225caac11807ed06fc2f Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 24 Nov 2020 23:20:54 -0500 Subject: Add more comments. Expand the interface. Allow templates to more easily be rendered with external variables. --- page/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'page') 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{}) } -- cgit v1.2.3