diff options
author | Jordan <me@jordan.im> | 2022-08-12 19:17:53 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-08-12 19:17:53 -0700 |
commit | e6b979e055d2c90ffbc14ce305cf9563d0955c1d (patch) | |
tree | d471cb842c405d08b952456dd37a66e744906ede | |
parent | 2ba61c7c1be5c3a6897198061167648ab9266f76 (diff) | |
download | crane-e6b979e055d2c90ffbc14ce305cf9563d0955c1d.tar.gz crane-e6b979e055d2c90ffbc14ce305cf9563d0955c1d.zip |
templates: rm superfluous category brackets in admin pages
-rw-r--r-- | templates/admin-edit.html | 2 | ||||
-rw-r--r-- | templates/admin.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin-edit.html b/templates/admin-edit.html index d4c9196..972c2c7 100644 --- a/templates/admin-edit.html +++ b/templates/admin-edit.html @@ -30,7 +30,7 @@ <div class="cat-cont"> <div class="cat"> {{ range $category, $paper := .Papers.List }} - <span class="cat">[<a href="#{{ $category }}">{{ $category }}</a>]</span> + <span class="cat"><a href="#{{ $category }}">{{ $category }}</a></span> {{ end }} </div> </div> diff --git a/templates/admin.html b/templates/admin.html index fb3a3d2..2226a83 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -45,7 +45,7 @@ <div class="cat-cont"> <div class="cat"> {{ range $category, $paper := .Papers.List }} - <span class="cat">[<a href="#{{ $category }}">{{ $category }}</a>]</span> + <span class="cat"><a href="#{{ $category }}">{{ $category }}</a></span> {{ end }} </div> </div> |