aboutsummaryrefslogtreecommitdiff
path: root/templates/list.html
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-03-14 13:43:03 -0700
committerJordan <me@jordan.im>2021-03-14 13:43:03 -0700
commitf03d77f73be72a934a99541b30a9663cc99a1733 (patch)
tree5065869c40492ebb917e825b6bcf0075b5117a17 /templates/list.html
parentc0271039935407c232270cef74cd2f559f77a64e (diff)
downloadcrane-f03d77f73be72a934a99541b30a9663cc99a1733.tar.gz
crane-f03d77f73be72a934a99541b30a9663cc99a1733.zip
r/w map locks; concurrent safety
Diffstat (limited to 'templates/list.html')
-rw-r--r--templates/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/list.html b/templates/list.html
index 9e139b9..a08efd6 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -1,6 +1,6 @@
{{ define "list" }}
<div class='papers nowrap list'>
-{{ range $category, $papers := .Papers }}
+{{ range $category, $papers := .Papers.List }}
{{ $paperCount := len $papers }}
{{ if ge $paperCount 1 }}
<div class="papersection">