diff options
Diffstat (limited to 'src/http/tpl/post-assets-manage.html')
-rw-r--r-- | src/http/tpl/post-assets-manage.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/tpl/post-assets-manage.html b/src/http/tpl/post-assets-manage.html index a0b0da0..7e01ff4 100644 --- a/src/http/tpl/post-assets-manage.html +++ b/src/http/tpl/post-assets-manage.html @@ -3,7 +3,7 @@ {{ $assetIDs := .GetPostAssetIDs }} <p> - <a href="{{ BlogURL "admin" }}">Back to Admin</a> + <a href="{{ .RootURL.Path "admin" }}">Back to Admin</a> </p> <h1>Assets</h1> @@ -15,7 +15,7 @@ overwritten. </p> -<form action="{{ BlogURL "assets/" }}" method="POST" enctype="multipart/form-data"> +<form action="{{ .RootURL.Assets }}" method="POST" enctype="multipart/form-data"> <div class="row"> <div class="four columns"> <input type="text" placeholder="Unique ID" name="id" /> @@ -37,10 +37,10 @@ {{ range $assetIDs }} <tr> - <td><a href="{{ AssetURL . }}">{{ . }}</a></td> + <td><a href="{{ $.RootURL.Asset . }}">{{ . }}</a></td> <td> <form - action="{{ AssetURL . }}?method=delete" + action="{{ ($.RootURL.Asset .).MethodDelete }}" method="POST" style="margin-bottom: 0;" > |