-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Featured Image naming flexibility in CMS #2777
Comments
So I closed the pull request due to the fact that the fix works on just the article page, but everywhere else it is an issue. Hopefully someone else finds this issue |
I am working on a possible solution. I need some more time time to fix some other things (such as previews on different views). For now, my changes do these steps to find the featured images:
Before sending a pull request I need to modify also the code for the different views to have the same logic (now they search only for a file named |
@Agos95 Awesome, I had made an attempt, but as you pointed out, its in a ton of locations ;) I appreciate you taking this on |
Feature Request
Is your feature request related to a problem? Please describe.
When using the netlify CMS and adding a featured image to a post, having to depend on the filename is not optimal. Specifically if someone uses an ipad or mobile device and it names the file a GUID
Describe the solution you'd like
Modify the
layouts/partials/page_header.html
to use the.Params.image.filename
included in the CMS submissionDescribe alternatives you've considered
No alternatives
Additional context
Here is the code I recommend:
The text was updated successfully, but these errors were encountered: