From c3be6125b43ebd4d9a6bddff7c27df34d5b273c7 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Fri, 22 May 2026 14:47:46 +0300 Subject: [PATCH] fix: check for student group and variant in keys --- src/title-pages/pz-lb/nure.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/title-pages/pz-lb/nure.typ b/src/title-pages/pz-lb/nure.typ index 7c14e4e..9fcd512 100644 --- a/src/title-pages/pz-lb/nure.typ +++ b/src/title-pages/pz-lb/nure.typ @@ -20,9 +20,9 @@ #if authors.len() == 1 { let a = authors.first() [#gender-form("author", dict: a):\ ] - [ст. гр. #a.edu-program\-#a.group\ ] + if ("edu-program" in a) and ("group" in a) [ст. гр. #a.edu-program\-#a.group\ ] [#a.name\ ] - if not is-empty(a.variant) [Варіант: №#a.variant] + if ("variant" in a) and (not is-empty(a.variant)) [Варіант: №#a.variant] } else if authors.len() > 1 [ #gender-form("author"):\ #for a in authors [