From f03d77f73be72a934a99541b30a9663cc99a1733 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 14 Mar 2021 13:43:03 -0700 Subject: r/w map locks; concurrent safety --- templates/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/list.html') 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" }}
-{{ range $category, $papers := .Papers }} +{{ range $category, $papers := .Papers.List }} {{ $paperCount := len $papers }} {{ if ge $paperCount 1 }}
-- cgit v1.2.3-54-g00ecf