Skip to content

Configure MIME type in front matter? #5454

@brhx

Description

@brhx

I've had an idea for a feature that I believe would be a wonderful addition to the engine!

I'm not entirely sure if this is the right place for this kind of feature request so please redirect me if I should consult the liquid templating repo instead. I'd also be happy to implement this myself if there was a chance it would be merged.


---
type: application/json

---
{ "message": "Hello, world!" }

Or something along these lines. The reasoning behind this is so you could host JSON files with pretty URL's (such as example.io/data to deliver data.json). Also if there would be a better way to go about this without requiring an intermediate step (such as htaccess or a web proxy) that would be ideal.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions