Better microformats support and add PUBLISH_DRAFTS envvar
This commit is contained in:
parent
132b2b69f3
commit
a335aff2d3
31 changed files with 269 additions and 153 deletions
|
|
@ -47,8 +47,8 @@ export const GET: APIRoute<Props, Params> = async ({ props: { story }, site }) =
|
|||
const { lang } = story.data;
|
||||
const copyrightedCharacters = await formatCopyrightedCharacters(story.data.copyrightedCharacters);
|
||||
const authorsList = await getEntries(story.data.authors);
|
||||
const commissionersList = story.data.commissioner && (await getEntries(story.data.commissioner));
|
||||
const requestersList = story.data.requester && (await getEntries(story.data.requester));
|
||||
const commissionersList = story.data.commissioners && (await getEntries(story.data.commissioners));
|
||||
const requestersList = story.data.requesters && (await getEntries(story.data.requesters));
|
||||
|
||||
const description = await Promise.all(
|
||||
WEBSITE_LIST.map(async ({ website, exportFormat }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue