defter 0.3.4

Self-hosted Zotero sync and file storage server, with metadata in SQLite and attachments in S3.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<li class="py-3 space-y-1">
  <div class="font-medium">
    {%- if let Some(link) = work.link %}
    <a href="{{ link }}" class="hover:underline">{{ work.title }}</a>
    {%- else %}
    {{ work.title }}
    {%- endif %}
  </div>
  {%- if !work.authors.is_empty() %}
  <div class="text-sm">{{ work.authors }}</div>
  {%- endif %}
  <div class="text-sm text-muted-foreground">
    {{- work.kind }}
    {%- if !work.year.is_empty() %} · {{ work.year }}{% endif %}
    {%- if !work.container.is_empty() %} · {{ work.container }}{% endif %}
    {%- if let Some(doi_url) = work.doi_url %} · <a href="{{ doi_url }}" class="hover:underline">{{ doi_url }}</a>{% endif %}
  </div>
</li>