diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 7de21f7..30023cd 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,10 +4,13 @@ </table> {{ $categoryCount := len .Papers }} {{ if gt $categoryCount 0 }} +<div class="cat"> + <span>{{ range $category, $paper := .Papers }}[<a href="#{{ $category }}">{{ $category }}</a>] {{ end }}</span> +</div> <table class='tabs'> <td><a class='active' href='/admin/'>Manage</a></td> </table> -<div class='content'> +<div class="content"> {{ block "list" . }}{{ end }} </div> {{ else }} |