refactor: use kebab case
This commit is contained in:
parent
2df43f537b
commit
e6bbc33900
5 changed files with 80 additions and 81 deletions
|
|
@ -8,8 +8,8 @@
|
|||
)
|
||||
|
||||
set text(
|
||||
font: settings.fontBody,
|
||||
size: settings.fontBodySize,
|
||||
font: settings.font-body,
|
||||
size: settings.font-body-size,
|
||||
lang: "en"
|
||||
)
|
||||
|
||||
|
|
@ -22,15 +22,15 @@
|
|||
program: "",
|
||||
title: "",
|
||||
subtitle: "",
|
||||
titleGerman: "",
|
||||
subtitleGerman: "",
|
||||
title-german: "",
|
||||
subtitle-german: "",
|
||||
author: "",
|
||||
matriculationNumber: "",
|
||||
placeOfWork: "",
|
||||
matriculation-number: "",
|
||||
place-of-work: "",
|
||||
supervisor: "",
|
||||
advisor: "",
|
||||
startDate: none,
|
||||
submissionDate: none,
|
||||
submission-date: none,
|
||||
) = {
|
||||
|
||||
v(5mm)
|
||||
|
|
@ -41,17 +41,17 @@
|
|||
align(center, text(font: settings.fontHeading, 1.5em, weight: 100, degree + "’s Thesis in " + program))
|
||||
v(8mm)
|
||||
|
||||
if titleGerman.len() > 0 {
|
||||
if subtitle.len() > 0 or subtitleGerman.len() > 0 {
|
||||
if title-german.len() > 0 {
|
||||
if subtitle.len() > 0 or subtitle-german.len() > 0 {
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 700, title))
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 500, subtitle))
|
||||
v(10mm)
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 700, titleGerman))
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 500, subtitleGerman))
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 700, title-german))
|
||||
align(center, text(font: settings.fontHeading, 1.2em, weight: 500, subtitle-german))
|
||||
} else {
|
||||
align(center, text(font: settings.fontHeading, 1.4em, weight: 700, title))
|
||||
v(10mm)
|
||||
align(center, text(font: settings.fontHeading, 1.4em, weight: 700, titleGerman))
|
||||
align(center, text(font: settings.fontHeading, 1.4em, weight: 700, title-german))
|
||||
}
|
||||
} else {
|
||||
if subtitle.len() > 0 {
|
||||
|
|
@ -73,12 +73,12 @@
|
|||
columns: (3fr, 3fr),
|
||||
gutter: 1em,
|
||||
strong("Author: "), author,
|
||||
strong("Matriculation Number: "), matriculationNumber,
|
||||
strong("Place of Work: "), placeOfWork,
|
||||
strong("Matriculation Number: "), matriculation-number,
|
||||
strong("Place of Work: "), place-of-work,
|
||||
strong("Supervisor: "), supervisor,
|
||||
strong("Advisor: "), advisor,
|
||||
strong("Start Date: "), startDate,
|
||||
strong("Submission Date: "), submissionDate,
|
||||
strong("Submission Date: "), submission-date,
|
||||
)
|
||||
)
|
||||
} else {
|
||||
|
|
@ -90,11 +90,11 @@
|
|||
columns: (3fr, 3fr),
|
||||
gutter: 1em,
|
||||
strong("Author: "), author,
|
||||
strong("Matriculation Number: "), matriculationNumber,
|
||||
strong("Place of Work: "), placeOfWork,
|
||||
strong("Matriculation Number: "), matriculation-number,
|
||||
strong("Place of Work: "), place-of-work,
|
||||
strong("Supervisor: "), supervisor,
|
||||
strong("Start Date: "), startDate,
|
||||
strong("Submission Date: "), submissionDate,
|
||||
strong("Submission Date: "), submission-date,
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue