Closed tgy closed 6 months ago
hello! trying to use nunjucks to generate html within Deno Fresh.
i created a ./views folder at the root of my project. it contains html templates.
./views
however, when i build the site, this ./views folder is not moved to the _fresh build folder
_fresh
therefore, nunjucks does not find my templates at runtime
what is the right way to solve this?
thanks for any help!
p.s. i don't really want to expose my views in the static folder, since this is leaking information about the code to the user
static
I'd like to understand your setup better. Why does the ./views folder need to be in _fresh? Why is nunjucks looking for it there?
Closing as we haven't heard back.
hello! trying to use nunjucks to generate html within Deno Fresh.
i created a
./views
folder at the root of my project. it contains html templates.however, when i build the site, this
./views
folder is not moved to the_fresh
build foldertherefore, nunjucks does not find my templates at runtime
what is the right way to solve this?
thanks for any help!
p.s. i don't really want to expose my views in the
static
folder, since this is leaking information about the code to the user