Templates with no extension

I have a question about the markdown directive and the ext option. I got it working when using the default .md ext. But I want to be able to use it with no extension.

Works: http://localhost:2222/blog/test.md
Does not work (404): http://localhost:2222/blog/test

Is this possible? I’ve tried a few things but no luck. Any suggestions?

I use the ext directive with templates like this:

ext .html
templates

And then my template files have .html extensions but the URL doesn’t. Works similarly for .md and the markdown directive, I believe.

1 Like

Perfect, thank you!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.