-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
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
--> templates/
| _header.pug
\ --> brand1/
| --> _footer.pug
| --> _inner.footer.pug
| --> file.pug
so, file includes header, also footer and footer includes inner.footer, file.pug looks like
include ../_header.pug
include content.pug
include _footer.pugCalling 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.
Metadata
Metadata
Assignees
Labels
No labels