diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-01-23 21:44:10 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-01-23 21:44:10 +0100 |
commit | 024f51488614919240a71cae1cae1c8fe6df1229 (patch) | |
tree | f423fd10b1bdfcfc9fe700c4ae31254f2380a557 /src/http | |
parent | 26dbc6691dbe038cbbbeb11195678d77693b335d (diff) |
Add BlogHTTPURL preprocess function
Diffstat (limited to 'src/http')
-rw-r--r-- | src/http/posts.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/posts.go b/src/http/posts.go index bb1c899..8cb8472 100644 --- a/src/http/posts.go +++ b/src/http/posts.go @@ -72,6 +72,9 @@ func (a *api) postToPostTplPayload(storedPost post.StoredPost) (postTplPayload, BlogURL: func(path string) string { return a.blogURL(path, false) }, + BlogHTTPURL: func(path string) string { + return a.blogURL(path, false) + }, AssetURL: func(id string) string { return a.assetURL(id, false) }, |