diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-05-18 18:29:19 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-05-18 18:29:19 +0200 |
commit | 0665d0c65974533fbd313f4e0b062b5103057aeb (patch) | |
tree | 5287795eed9767bd959a5139b77ef78b4024216d /src/http/tpl/admin.html | |
parent | ffa26298c95451639a6e01db6692d02d50b3d518 (diff) |
Replace all URL rendering within templates by a URLConstructor
Diffstat (limited to 'src/http/tpl/admin.html')
-rw-r--r-- | src/http/tpl/admin.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/tpl/admin.html b/src/http/tpl/admin.html index 0b4b4e3..2dfab0f 100644 --- a/src/http/tpl/admin.html +++ b/src/http/tpl/admin.html @@ -7,9 +7,9 @@ mostly left open to inspection, but you will not able to change anything without providing credentials. <ul> - <li><a href="{{ BlogURL "posts?method=manage" }}">Posts</a></li> - <li><a href="{{ BlogURL "assets?method=manage" }}">Assets</a></li> - <li><a href="{{ BlogURL "drafts?method=manage" }}">Drafts</a> (private)</li> + <li><a href="{{ .RootURL.Posts.MethodManage }}">Posts</a></li> + <li><a href="{{ .RootURL.Assets.MethodManage }}">Assets</a></li> + <li><a href="{{ .RootURL.Drafts.MethodManage }}">Drafts</a> (private)</li> </ul> {{ end }} |