List of publications: nicer links

This commit is contained in:
tdehaeze committed 2026-10-12 13:13:20 +02:00
1 parent 23fc8a95cc
commit eaa0af474b
5 files changed
+28 -19

No files matched your search

+1 -1
View File
@@ -6,6 +6,6 @@
{{- end -}}
{{- with $links -}}
<div class="post-meta pub-links{{ with $class }} {{ . }}{{ end }}" style="margin-top:0.35em;">
{{ delimit . " <span class=\"more-meta\">·</span> " | safeHTML }}
{{ delimit . " <span class=\"pub-sep\">·</span> " | safeHTML }}
</div>
{{- end -}}
@@ -6,7 +6,6 @@
{{- end -}}
{{- $links := slice -}}
{{- with $page }}{{ $links = $links | append (printf "<a href=\"%s\">Page</a>" .RelPermalink) }}{{ end -}}
{{- $pdf := "" -}}
{{- if $page }}
+2 -1
View File
@@ -6,7 +6,8 @@
{{- $depth := len $segments -}}
{{- if eq $depth 1 -}}
{{/* Research root: data-driven publication list, no visible title or intro. */}}
{{/* Research root: optional intro (content of _index.md), then data-driven publication list. */}}
{{- with .Content }}<div class="post-content">{{ . }}</div>{{ end -}}
{{- $pubs := hugo.Data.publications.publications -}}
{{- $groups := slice