What version of Hugo are you using (hugo version)?
$ hugo version
Hugo Static Site Generator v0.59.1-D5DAB232/extended darwin/amd64 BuildDate: 2019-10-31T15:27:09Z
Does this issue reproduce with the latest release?
Yes. Using extended version.
Details
I am using multiple content folders with cascade.type set. When I make a change in the markdown of one of the files inheriting the type, it switches to the default layout. Then I have to restart hugo for it to pick the the correct layout.
This does not happen for files at the same level of the cascade.type_index.md, just for all files on nested folders under the _index.md with the cascade.type.
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes. Using extended version.
Details
I am using multiple content folders with
cascade.type
set. When I make a change in the markdown of one of the files inheriting the type, it switches to the default layout. Then I have to restart hugo for it to pick the the correct layout.This does not happen for files at the same level of the
cascade.type
_index.md
, just for all files on nested folders under the_index.md
with thecascade.type
.I have a minimal example here: https://github.com/frank-segui/hugo-cascading-issue
on
hugo serve
, changing a file undercontent/type/dir
will change all files in that dir fromAnother type layout
toDefault layout
.What I expected
Making a change in a file keeps the layout inherited from its nearest
cascade.type
.The text was updated successfully, but these errors were encountered: