allow more control over what is rendered
This commit is contained in:
parent
5724072e51
commit
f7bd39caab
2 changed files with 27 additions and 20 deletions
|
@ -37,19 +37,12 @@
|
|||
// text lang
|
||||
lang: "en",
|
||||
school-color-verso: school-color-verso,
|
||||
abstract-only: false,
|
||||
show_cover: true,
|
||||
show_body: true,
|
||||
show_abstracts: true,
|
||||
body
|
||||
) = {
|
||||
assert-etablissements(university)
|
||||
|
||||
let show_cover = true
|
||||
let show_body = true
|
||||
let show_abstracts = true
|
||||
if abstract-only {
|
||||
show_cover = false
|
||||
show_body = false
|
||||
show_abstracts = true
|
||||
}
|
||||
|
||||
if draft {
|
||||
[== DRAFT - #title-en]
|
||||
|
@ -276,7 +269,7 @@
|
|||
title-fr: title-fr, keywords-fr: keywords-fr, abstract-fr: abstract-fr,
|
||||
title-en: title-en, keywords-en: keywords-en, abstract-en: abstract-en,
|
||||
font: abstract-font, font-size: abstract-font-size, school-color-verso: school-color-verso,
|
||||
align-to-even-page: not abstract-only
|
||||
align-to-even-page: show_body, // Don't add blank pages when the body is not shown
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue