Skip to content

Defaulting title to filename if no title is given

Latest
Compare
Choose a tag to compare
@Wesztman Wesztman released this 28 Feb 13:27
· 5 commits to main since this release

When building pipeline files with no title metadata the filename in the site folder was used. That filename however had a unique hash added to it to prevent two equal filenames, since all files end up in the same output folder.

To fix this I now add a title if none is given, it consists of the filename, replacing any _-. with whitespace, capitalizing and removing file ending.

Full Changelog: 0.1.2...0.1.3