diff --git a/template/classic/common.typ b/template/classic/common.typ index b278dbb..f283873 100644 --- a/template/classic/common.typ +++ b/template/classic/common.typ @@ -98,9 +98,7 @@ let info_fields = ( ("study_programme", study_programme, false), ("study_branch", study_branch, false), - ( - if not is_none(author) and author.contains(", ") {"authors" } else { "author" }, author, true - ), + ("author", author, true), ("supervisor", supervisor, false), ) context { diff --git a/template/classic/other.typ b/template/classic/other.typ index 5b6c346..039303e 100644 --- a/template/classic/other.typ +++ b/template/classic/other.typ @@ -11,14 +11,8 @@ content ) = { - let force_langs = ("cs", "en"); assert_not_none(title, "title"); - assert_dict_has(force_langs, title, "title"); - - assert_not_none(study_programme, "study programme"); - assert_in_arr(language, study_programme, "study programme"); - assert_not_none(study_branch, "study branch"); - assert_in_arr(language, study_branch, "study branch"); + assert_dict_has((language,), title, "title"); mainpage(faculty_id, language, none, title, author, supervisor, study_programme, study_branch); default_styling(true, faculty_color, {