www-from-model/layouts/_partials/related-publications-list-item.html
Michael Hanke d6c1196a3f
All checks were successful
Deploy on webserver / Build site and deploy on success (push) Successful in 43s
feat: use per-category lists of related content (on person pages)
This is limited to person pages for now, but it really aims to be the
general pattern.

The previous way related articles are linked on the website was
space-intensive (title+tons-of-tags). It was also duplicating what the
nav-graph wants to do (semantic linkage). I am thinking that the
nav-graph is what we should emphasize -- it brings out the graphiness of
the information.

Here I am removing the tag list and present related articles as compact
title-only lists.

A new collection of partials is sketched that allow for customization of
these list items for each category. For example, publication items can
list a date.

Each list is individually sorted by a `sortkey` parameter. This could be
used to sort projects by title, but publications by date.
2026-05-18 17:51:20 +02:00

7 lines
297 B
HTML

<div class="inline">
<a
class="text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral"
href="{{ .Permalink }}"
>{{ .Title | emojify }}</a
>{{ if .Params.date }} <span class="text-xs">({{ .Params.date }})</span>{{ end }}
</div>