From 024f51488614919240a71cae1cae1c8fe6df1229 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 23 Jan 2023 21:44:10 +0100 Subject: Add BlogHTTPURL preprocess function --- src/http/posts.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http/posts.go') 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) }, -- cgit v1.2.3