aboutsummaryrefslogtreecommitdiff
path: root/templates/list.html
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2021-11-04 00:31:18 -0700
committerJordan <me@jordan.im>2021-11-04 00:31:18 -0700
commit9e4eb63a6a90cdeba92c88e72a559024e1774e23 (patch)
tree6d2fe9a89d20407407a56d59818ad01b74729397 /templates/list.html
parenteaca76acf4b013d744088adf94b28c8df57a14c1 (diff)
downloadcrane-9e4eb63a6a90cdeba92c88e72a559024e1774e23.tar.gz
crane-9e4eb63a6a90cdeba92c88e72a559024e1774e23.zip
styling: between-paper breaks, bullets
Diffstat (limited to 'templates/list.html')
-rw-r--r--templates/list.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/list.html b/templates/list.html
index aa857ee..52e7bb9 100644
--- a/templates/list.html
+++ b/templates/list.html
@@ -7,7 +7,8 @@
<span class='papersection' id='{{ $category }}'>{{ $category }}</span>
</div>
{{ range $path, $paper := $papers }}
- <div class="paper">
+ <ul>
+ <li>
{{ if $paper.Meta.Title }}
<span class="title"><a href='/download/{{ $path }}' title='{{ $paper.Meta.Title }}'>{{ $paper.Meta.Title }}</a></span><br>
{{ else }}
@@ -27,9 +28,10 @@
{{ else if $paper.Meta.Resource }}{{ if $hasVal }}- {{ end }}<span class="doi"><a href="{{ $paper.Meta.Resource }}">{{ $paper.Meta.Resource }}</a></span>{{ end }}
{{ if $paper.Meta.Journal }}{{ if $hasVal }}- {{ end }}<span class="journal">{{ $paper.Meta.Journal }}</span>{{ end }}
-
- </div>
+ </li>
+ </ul>
{{ end }}
+ <hr>
{{ end }}
{{ end }}
</div>