diff options
author | Jordan <me@jordan.im> | 2021-03-04 21:48:18 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2021-03-04 21:48:18 -0700 |
commit | a164fd4aad6406900de2bc443e31e580b46550fc (patch) | |
tree | bd317d7daaa493de9d9c609cd2895d62c65eab68 /templates/admin.html | |
parent | d70a3b022e59dfc484d350335ca25eb02998b8eb (diff) | |
download | crane-a164fd4aad6406900de2bc443e31e580b46550fc.tar.gz crane-a164fd4aad6406900de2bc443e31e580b46550fc.zip |
add category links, styling
Diffstat (limited to 'templates/admin.html')
-rw-r--r-- | templates/admin.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/admin.html b/templates/admin.html index 8c5222c..697b391 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -38,6 +38,9 @@ {{ end }} </table> {{ if gt $categoryCount 0 }} +<div class="cat"> + <span>{{ range $category, $paper := .Papers }}[<a href="#{{ $category }}">{{ $category }}</a>] {{ end }}</span> +</div> <table class='tabs'> <tr> <td><a class='active' href='/admin/edit/'>Edit</a></td> |