CHG dates
This commit is contained in:
parent
562f5b52f1
commit
6732c64d5f
@ -5,13 +5,24 @@
|
|||||||
title: [Title],
|
title: [Title],
|
||||||
subtitle: none,
|
subtitle: none,
|
||||||
authors: [],
|
authors: [],
|
||||||
date: none,
|
date: datetime.today(),
|
||||||
duration: none,
|
duration: none,
|
||||||
handout: false,
|
handout: false,
|
||||||
doc,
|
doc,
|
||||||
) = {
|
) = {
|
||||||
|
|
||||||
set text(font: "Inria Sans")
|
//set text(font: "Inria Sans")
|
||||||
|
|
||||||
|
let date-text = if date.day() == 1 {
|
||||||
|
date.display("[weekday], [day padding:none]st of [month repr:long] [year]")
|
||||||
|
} else if date.day() == 2 {
|
||||||
|
date.display("[weekday], [day padding:none]nd of [month repr:long] [year]")
|
||||||
|
} else if date.day() == 3 {
|
||||||
|
date.display("[weekday], [day padding:none]rd of [month repr:long] [year]")
|
||||||
|
} else {
|
||||||
|
date.display("[weekday], [day padding:none]th of [month repr:long] [year]")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
show: clean-theme.with(
|
show: clean-theme.with(
|
||||||
//aspect-ratio: "4-3",
|
//aspect-ratio: "4-3",
|
||||||
@ -44,7 +55,7 @@
|
|||||||
title: [#title],
|
title: [#title],
|
||||||
subtitle: [#subtitle],
|
subtitle: [#subtitle],
|
||||||
authors: ([#authors]),
|
authors: ([#authors]),
|
||||||
date: [#date],
|
date: [#date-text],
|
||||||
)
|
)
|
||||||
|
|
||||||
doc
|
doc
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
title: [Title],
|
title: [Title],
|
||||||
subtitle: [Subtitle],
|
subtitle: [Subtitle],
|
||||||
authors: [Author A, Author B],
|
authors: [Author A, Author B],
|
||||||
date: datetime.today().display("[day].[month].[year]"),
|
date: datetime.today(),
|
||||||
duration: 10, // time in minutes for presentation or counter timer if no field is given
|
duration: 10, // time in minutes for presentation or counter timer if no field is given
|
||||||
doc,
|
doc,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user