$def with (project, release, files, log, prev, next) $var breadcrumbs = ("projects", "Projects", project, f"{project}", "releases", "Releases") $var title: $project $release $var body_classes = ["h-entry"] $var title_classes = ["p-name"] $if log: $for _, entry in list(log.items())[1:]:

$entry["message"] $entry["timestamp"].diff_for_humans()

$def aside():

$if not (prev or next): no other releases $if prev: ← $if prev and next: — $if next:

$var aside = aside()