-
Notifications
You must be signed in to change notification settings - Fork 21
/
simple.html
39 lines (37 loc) · 1.19 KB
/
simple.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<style>
.venue { font-style: italic; }
</style>
</head>
<body>
<ul>
{% for entry in entries %}
<li>
<span class="authors">
{{ entry.persons['author']|author_list }}.
</span>
<span class="title">
{% set url = entry|main_url %}
{% if url %}
<a href="{{ url|escape }}">{{ entry|title }}</a>.
{% else %}
{{ entry|title }}.
{% endif %}
</span>
<span class="venuetype">{{ entry|venue_type -}}</span><span class="venue">{{ entry|venue -}}</span>,
<span class="date">
{{ entry.fields['month'] }}
{{ entry.fields['year'] }}.
</span>
<span class="links">
{% for type, url in (entry|extra_urls).items() %}
<a href="{{ url|escape }}">{{ type|escape }}</a>
{% endfor %}
</span>
</li>
{% endfor %}
</ul>
</body>
</html>