You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that changes made to the pug.pug file are detected and also written on _dest/pug/index.html, while changes made to index.pug file are detected, but not actually written on _dest/index.html file
_config.js:
import lume from "https://deno.land/x/lume@v0.14.0/mod.js";
import pug from "https://deno.land/x/lume/plugins/pug.js";
const site = lume({
dest: "_dist",
prettyurls: true,
});
site.use(pug());
export default site;
index.pug:
//- index.pug
doctype html
html
include _includes/head.pug
body
h1 My Site!
p Welcome to my super lame site!
pug.pug:
//- pug.pug
doctype html
html
include _includes/head.pug
body
h1 Pug
_includes/head.pug
head
title Hello Pug
P.S.
I noticed everything works just fine if the index is a markdown file, the problem gets out only on index.pug file
The text was updated successfully, but these errors were encountered:
silviajoy
changed the title
index.pug file not being written on index.html in --serve mode
index.pug file changes not being written on index.html in --serve mode
Feb 4, 2021
I have this folder structure:
I noticed that changes made to the pug.pug file are detected and also written on _dest/pug/index.html, while changes made to index.pug file are detected, but not actually written on _dest/index.html file
_config.js:
index.pug:
pug.pug:
_includes/head.pug
P.S.
I noticed everything works just fine if the index is a markdown file, the problem gets out only on index.pug file
The text was updated successfully, but these errors were encountered: