Open simonwuyts opened 7 years ago
I recreated the situation in Bedrock core.
Some extra info: if you remove the root index.pug
file in /templates/
, page states do work for pages that are called index.pug
and index--state.pug
.
Interesting, I used that workaround now in [client project].
I can make it part of Bedrock core for now to circumvent this bug.
Update: the problem if I use that approach is that when I deploy the prototype, the pages called "index" are not accessible on the web version (they are in the local version).
I tried generating two page states from the following files:
index.pug
index--empty.pug
The index item in the navigation shows a count bubble, but the states list is nowhere to be found. The project has Bedrock 1.2.1 installed.
When I rename the files to
overview.pug
andoverview--empty.pug
everything works fine.