2024-01-18 20:03:31 +00:00
|
|
|
#{
|
|
|
|
set page(width: 5.5in, height: 3.5in, margin: 0em)
|
|
|
|
|
|
|
|
import "common.typ"
|
|
|
|
|
2024-01-20 06:47:46 +00:00
|
|
|
let options = json("cache/options.json")
|
2024-01-18 20:03:31 +00:00
|
|
|
let cards = options.cards
|
|
|
|
let args = options.args
|
|
|
|
|
|
|
|
let content_fn = if args.no_content {
|
|
|
|
_ => []
|
|
|
|
} else {
|
|
|
|
import "cache/content/content.typ"
|
|
|
|
content.content
|
|
|
|
}
|
|
|
|
|
|
|
|
for (idx, card) in cards.enumerate() {
|
|
|
|
if idx != 0 {
|
|
|
|
pagebreak()
|
|
|
|
}
|
|
|
|
common.postcard_content(100%, 100%, content_fn, card)
|
|
|
|
}
|
|
|
|
}
|