the "edit on github" buttons on locale specific pages use an invalid link due to contentlayer including the i18n locale prefix in _raw.sourceFilePath
Summary of Changes
strip out the i18n prefix from the record._raw attributes since all github files are only in the base language of english (and therefore do not have this prefix)
Problem
the "edit on github" buttons on locale specific pages use an invalid link due to contentlayer including the i18n locale prefix in
_raw.sourceFilePath
Summary of Changes
strip out the i18n prefix from the
record._raw
attributes since all github files are only in the base language of english (and therefore do not have this prefix)