docs: add description field and keywords note to readme

This commit is contained in:
2026-01-21 20:22:56 +02:00
parent fe82dee5e4
commit 610ab2e7d0
5 changed files with 20 additions and 9 deletions

View File

@@ -48,10 +48,20 @@
attachments: (),
attachment-title: "Pielikumi",
display-documentary: true,
description: none,
body,
) = {
// Set document metadata.
set document(title: title, author: authors.map(author => author.name))
set document(
title: title,
author: authors.map(author => author.name),
keywords: abstract
.values()
.map(it => it.keywords)
.flatten()
.filter(it => it != none and it != ""),
description: description,
)
// Set the body font.
set text(
@@ -124,9 +134,7 @@
},
)
show figure: set block(
breakable: true,
) // allow for tables to span to next pages mid sentence
show figure: set block(breakable: true) // allow for tables to span to next pages mid sentence
show figure: set par(justify: false) // disable justify for figures (tables)
show figure.caption: set align(end)
show table.cell.where(y: 0): strong