Make a post's file name configurable #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "postFileName"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Having different
postLinkandpostFileNamevalues obviously requires some server-side configuration.What's the use case for this? Prettifying urls and having your web server somehow redirect from those to concrete files with different names?
Yeah, exactly. I'd like to not have the file extension in URLs, but in file names.
Do I see correctly that this is a breaking change in behavior when you override the url for a post without also overriding the file name? It'll still store the file at
${name}.html, and probably break. Would it make more sense to not defaultpostFileNameto anything, and fall back topostLinkwhen it's null?You're right, I didn't think of that.
${url}would also work as a default, right?I think so. That's a decent solution.
Merged as
e970886Pull request closed