Using field Image results in unnecessary repeating of the slug in the (collection) entry
#1520
Unanswered
jackverstappen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using keystatic in an Astro project, and the usage of the
field Imageis causing me some challenges, which can be overcome, but I see it as a missed opportunity to make things smoother.When using
field Image, a selected image file gets stored with theschema nameand (in case of collection) also preceded with theslug.For example, with something like
would end up (as an example) as:
In other words, the ```slug`` of the collection entry is unnecessary mentioned throughout the frontmatter. Any idea on how to overcome this?
Beta Was this translation helpful? Give feedback.
All reactions