diff --git a/index.typ b/index.typ new file mode 100644 index 0000000..7aee72a --- /dev/null +++ b/index.typ @@ -0,0 +1,19 @@ +// templates for online lecture notes + +#import "main.typ": gen_preamble, doc_template, lref + +#let template( + title: none, + authors: none, + subtitle: [Index of resources], + body +) = { + doc_template({ + gen_preamble( + title: title, + authors: authors, + prefix: [_#{subtitle}_], + ) + body + }) +}