Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: media organization #149

Open
rochacbruno opened this issue Nov 19, 2024 · 0 comments
Open

feat: media organization #149

rochacbruno opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@rochacbruno
Copy link
Owner

rochacbruno commented Nov 19, 2024

Use case:

I write a post with foo-bar as slug.

Banner discovery

If marmite finds a media/foo-bar.banner|card.png|jpg|.. it assumes the image as banner or card


What is missing:

2. Media subfolder

If marmites finds a media/foo-bar/ directory it looks inside the directory for card|banner.ext

3. Having other files on the media/foo-bar/* is also a use case, user can do something like:

![](@/image.png)

Marmite will replace @/ with media/foo-bar/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant