diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-17 13:52:18 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-17 13:52:18 -0600 |
commit | e742a2d6d5b75bce14a9be688c47c88807cfe94b (patch) | |
tree | a87e5e2fa64b88958d22a5ac58ca1b1c1cb85537 /srv/src/api/api.go | |
parent | 0fdece68c07836a566909d75a7f3836f229334b5 (diff) |
Add BlogURL template function
Diffstat (limited to 'srv/src/api/api.go')
-rw-r--r-- | srv/src/api/api.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 |