From baa10aeb413a5ac109e56db5fd7a8d62a4d5965f Mon Sep 17 00:00:00 2001 From: Jordan Date: Tue, 16 Feb 2021 16:48:56 -0700 Subject: initial commit --- templates/index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..7de21f7 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,16 @@ +{{ template "layout.html" . }} +{{ define "content" }} + + +{{ $categoryCount := len .Papers }} +{{ if gt $categoryCount 0 }} + + +
Manage
+
+{{ block "list" . }}{{ end }} +
+{{ else }} +

nothing here yet, create a category to start downloading papers

+{{ end }} +{{ end }} -- cgit v1.2.3-54-g00ecf