so, file includes header, also footer and footer includes inner.footer, file.pug looks like
include ../_header.pug
include content.pug
include _footer.pug
Calling pug4j works for a single file or a file that includes another one, but doesn't generate HTML, looks like is only loading pug files into a string.
I'm using ubuntu 22.04 and files are utf-8 and have an empty line at the end and pug4j version 2.0.6
When I call pug cli, it renders my template, but using pug4j I got
de.neuland.pug4j.exceptions.PugParserException: unexpected token "Indent"
here's my hierarchy
so,
file
includesheader
, alsofooter
andfooter
includesinner.footer
, file.pug looks likeCalling pug4j works for a single file or a file that includes another one, but doesn't generate HTML, looks like is only loading pug files into a string.