-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
WORK IN PROGRESS: resource: Add preliminary EXIF support #4692
Conversation
fe3c1e7
to
5d6c27d
Compare
69bf398
to
39b6f87
Compare
Enable with `imaging.hugo041ExperimentEnableExif = true`. This commit also make the Page.Data field into a method. This is where we put resource-contextual data, such as `Exif` for images. Having at as an map has some benefits in the templates, as you don't have to know what type of resource it is: ```bash {{ with .Data.Exif }}Has Exif: {{ .Long }}{{ else }}No Exif for you.{{ end }} ``` The above can be used on any resource type, even pages. Fixes gohugoio#4600
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
@bep Is this still waiting on a change to be merged upstream? I'm looking forward to this feature, so I'm happy to do testing or anything else that's needed to help move it along. |
Well, it is mostly waiting for me to get back to it. |
Is it something a relative newcomer to Hugo could pick up and help with? If there's something I can do, I'm happy to help. Otherwise I'll just wait patiently :) |
I would also like to see this added and am willing to help, what needs to be done still? |
Added in #6289 |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #4600