From e742a2d6d5b75bce14a9be688c47c88807cfe94b Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 17 May 2022 13:52:18 -0600 Subject: Add BlogURL template function --- srv/src/api/api.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'srv/src/api/api.go') diff --git a/srv/src/api/api.go b/srv/src/api/api.go index 37ea1fc..7323d29 100644 --- a/srv/src/api/api.go +++ b/srv/src/api/api.go @@ -26,6 +26,10 @@ type Params struct { Logger *mlog.Logger PowManager pow.Manager + // PathPrefix, if given, will be prefixed to all url paths which are + // rendered by the API's templating system. + PathPrefix string + PostStore post.Store PostAssetStore post.AssetStore -- cgit v1.2.3