summaryrefslogtreecommitdiff
path: root/src/http/tpl.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2024-05-18 15:55:59 +0200
committerBrian Picciano <mediocregopher@gmail.com>2024-05-18 15:55:59 +0200
commit93a8843e2e3391459fd333aef9e5c7617608c2b3 (patch)
tree2e5615cd22d1b39c7d5f870b88e3f29b5c24a223 /src/http/tpl.go
parent8d7e708d98a3a46ba3ba08f9c8deeb4838bb8ca5 (diff)
Remove most rendering related querying from go http handlers
Diffstat (limited to 'src/http/tpl.go')
-rw-r--r--src/http/tpl.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/tpl.go b/src/http/tpl.go
index c623f2e..afd4c8e 100644
--- a/src/http/tpl.go
+++ b/src/http/tpl.go
@@ -151,6 +151,8 @@ func (a *api) newTPLData(r *http.Request, payload interface{}) tplData {
a.params.PublicURL,
a.params.GeminiGatewayURL,
a.params.PostStore,
+ a.params.PostAssetStore,
+ a.params.PostDraftStore,
a.postPreprocessFuncs(),
),
Payload: payload,