diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:43:49 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-05-26 21:43:49 +0200 |
commit | 006c0028106425abb3f718b2e86349dee5b7a2ea (patch) | |
tree | 47381f28793d97010fe60938eb7684a886dc885b /src/http/tpl.go | |
parent | 43d8951296ce2f232ca94f0577e2e726291bf783 (diff) |
Refactor how preprocess functions work a bit
Diffstat (limited to 'src/http/tpl.go')
-rw-r--r-- | src/http/tpl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/tpl.go b/src/http/tpl.go index 47cea80..42341a2 100644 --- a/src/http/tpl.go +++ b/src/http/tpl.go @@ -66,7 +66,7 @@ func (a *api) newTPLData(r *http.Request, payload interface{}) tplData { a.params.PostStore, a.params.PostAssetStore, a.params.PostDraftStore, - a.postPreprocessFuncs(), + a.postPreprocessFuncs, ), Payload: payload, Title: "mediocregopher's lil web corner", |