1
0

feat(template): add hide_title option

This commit is contained in:
2026-05-17 19:45:31 +03:00
parent 463c5a413c
commit 472c8e2508
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
* Typst library for NURE (Kharkiv National University of Radio Electronics) works
*/
#import "style.typ": spacing, dstu-style, appendices-style
#import "style.typ": appendices-style, dstu-style, spacing
#import "template.typ": *
// TODO: Template formatting functions {{{
@@ -387,7 +387,7 @@
#v(spacing * 2, weak: true)
],
depth: 2,
indent: auto,
indent: 0em,
)
doc
+2 -1
View File
@@ -29,6 +29,7 @@
number: none,
subject: none,
title: none,
hide_title: false,
variant: none,
author: none,
mentor: none,
@@ -121,7 +122,7 @@
pagebreak(weak: true)
if title != none { heading(title) }
if title != none and not hide_title { heading(title) }
it
} // }}}