Hello, i try to use Pug, it seems there is a problem with the block content rendering. Even if i put the home.pug file in the same directory as my layout.pug, nothing is render!!! Includes works though..
I've also try relative or absolute path on extends, downgrade my node version to v16 but nothing works.
layout.pug =>
doctype html
html(lang="fr")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
link(rel="stylesheet", href="assets/css/main.css")
script(src="https://unpkg.com/htmx.org@1.9.10")
title Artiwave
body
block header
include ../includes/header
block appContent
block footer
include ../includes/footer
home.pug =>
extends ./layout
block appContent
main
p Hello Artiwave
Hello, i try to use Pug, it seems there is a problem with the block content rendering. Even if i put the home.pug file in the same directory as my layout.pug, nothing is render!!! Includes works though.. I've also try relative or absolute path on extends, downgrade my node version to v16 but nothing works.
layout.pug =>
home.pug =>
NodeJS v20.10.0 Express 4.18.12 Pug 3.0.2