Failed to emit from plugin ‘ComponentResources’: afterBody is not iterable

Cause: afterBody is missing from quartz.layout.ts.

Solution: Add afterBody: [], to quartz.layout.ts:

quartz.layout.ts
// components shared across all pages
export const sharedPageComponents: SharedLayout = {
  head: Component.Head(),
  header: [],
  afterBody: [],
  footer: Component.Footer({
    links: {
      GitHub: "https://github.com/jackyzha0/quartz",
      "Discord Community": "https://discord.gg/cRFFHYye7t",
    },
  }),
}