<ul class="publications">
  {{ $authors := .Page.Params.authors }}
  {{ range sort .Page.Params.publications "date" "desc" }}
  <li>
    <span class="authors">
    {{ range .authors }}
      {{ $author := . }}
      {{ with $authors }}
        {{ with (index . $author) }}
          <span class="author">
            {{- if isset . "page" -}}
              <a href="{{ .page }}">{{ .name }}</a>
            {{- else -}}
              {{ .name -}}
            {{- end -}}
          </span>
        {{- end -}}
      {{- end -}}
    {{- end -}}
    </span>.
    <span class="title">{{ .title }}</span> in
    <span class="journal">{{ .journal }}</span>

    {{ range .links }}
    <span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
    {{ end }}
  </li>
  {{ end }}
</ul>
