Generated file names aren’t lowered for files without frontmatter.
Is this an expected behavior?
config
disablePathToLower=false
SOURCE
$ tree content/ABCD
content/ABCD
├── CSS.css
├── HTML.html
└── MD.md
GENERATED files
$ tree public/
public/
├── ABCD
│ ├── CSS.css
│ └── HTML.html
├── abcd
│ └── index.xml
Yes. The CSS and HTML files are orphans; they are not logically associated with the markdown file, so they are just copied from content to public.
If you change ABCD into a page bundle, the files will be logically associated with the markdown file as page resources.
content
content/
├── ABCD/
│ ├── CSS.css <-- page resource
│ ├── HTML.html <-- page resource
│ └── index.md <-- the presence of an index.md file makes this a page bundle
└── _index.md
rendered
public/
├── abcd/
│ ├── CSS.css
│ ├── HTML.html
│ └── index.html
└── index.html
We do not touch the page resource filenames. If we did, your references to these assets in markdown would be broken on case sensitive operating systems.
Thanks.
I try to use page bundle!
1 Like