-
-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I have these two files:
<!-- Kunden/st/Doku/backup_konzept.qd -->
.var {xHasRestores} {yes}
.var {xKdOrdner} {../Kunden/st/Doku}
.include {../../../_Templates/tpl_backup_konzept.qd}
<!-- _Templates/tpl_backup_konzept.qd -->
.doctype {paged}
.doclang {de}
.theme {paperwhite} layout:{minimal}
.font {Liberation Sans}
#! Anhang {#anhang}
.csv {.xKdOrdner/restores.csv}
.if {.xHasRestores}
.csv {.xKdOrdner/restores.csv}
Directory structure is:
βββ Kunden
β βββ st
β βββ Doku
βββ _Templates
When I run quarkdown c Kunden/st/Doku/backup_konzept.qd from the root i get this output:

The weird thing is that inside the if a different base path is used so the .csv call becomes invalid.
When I remove the .if the file is included twice as it should be.
I was able to reproduce the issue on windows and Linux. The project is attached as zip.
bug.zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working