diff options
author | Jordan <me@jordan.im> | 2021-11-01 22:50:33 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2021-11-01 22:50:33 -0700 |
commit | aff47ab1f9b11271ac69d0fee64025f5e26b621c (patch) | |
tree | efe8c4fefe6c0bb7b0170f69fbde40306ee19398 /templates/index.html | |
parent | 2120238760d974f2b0f5cc99faa7ecaf23989bf2 (diff) | |
download | crane-aff47ab1f9b11271ac69d0fee64025f5e26b621c.tar.gz crane-aff47ab1f9b11271ac69d0fee64025f5e26b621c.zip |
wrap category names in a nowrap <span>
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 294ecea..d435a38 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@ {{ $categoryCount := len .Papers.List }} {{ if gt $categoryCount 0 }} <div class="cat"> - <span>{{ range $category, $paper := .Papers.List }}[<a href="#{{ $category }}">{{ $category }}</a>] {{ end }}</span> + <span>{{ range $category, $paper := .Papers.List }}<span class="nowrap">[<a href="#{{ $category }}">{{ $category }}</a>]</span> {{ end }}</span> </div> <table class='tabs'> <tr> |