[Bug report] doc bug in post config options for Image upload sample code #1824
Replies: 1 comment
-
Thank you for indicating the issue. It has been fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Operating system
N/A
Publii version
N/A
Issue type
Something else
Bug description
https://getpublii.com/dev/post-config-options/
In Image upload section, first sample code snippet says:
"postConfig": [
{
"name": "displayImage",
"label": "Upload image",
"value": "",
"type": "image"
},
the second and third snippets do not reference the right name for the image:
they should be "displayImage", not "displayCustomFeaturedImage" to align with the post config.
Steps to reproduce
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions