docs: fix advisors example

This commit is contained in:
Kristofers Solo 2025-08-27 14:14:28 +03:00
parent 620059b5b3
commit af289ef9d5
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
2 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ title/abstract/attachments, and a ready-to-edit example.
Use the template in the Typst web app by clicking "Start from template" and
searching for `solo-lu-df`, or initialize a new project with the CLI:
```bash
```sh
typst init @preview/solo-lu-df
```
@ -49,7 +49,9 @@ template, you can add a show rule like this at the top of your file:
authors: (
(name: "Jānis Bērziņš", code: "jb12345", email: "jb12345@edu.lu.lv"),
),
advisors: (title: "Mg. dat.", name: "Ivars Ozoliņš"),
advisors: (
(title: "Mg. dat.", name: "Ivars Ozoliņš"),
),
date: datetime(year: 2025, month: 1, day: 1),
place: "Rīga",
bibliography: bibliography("bibliography.yml"),

View File

@ -20,7 +20,7 @@
// location, and email. Everything but but the `name` and `code` is optional.
authors: (),
advisors: (),
reviewer: (),
reviewer: (name: ""),
// The paper's abstract. Can be omitted if you don't have one.
abstract: (
primary: (