Skip to content

News / blog: MDX content pipeline #20

Description

@MrImmortal09

Context

News posts are infrequent and benefit from version control. MDX-in-repo is simpler than a CMS and contributors can submit posts via PR.

Acceptance criteria

  • content/news/*.mdx directory with frontmatter (title, date, category, author, excerpt)
  • /news reads the directory at build time
  • /news/[slug] renders the MDX with syntax highlighting and images
  • contentlayer or a custom loader handles the pipeline
  • Posts are publicly visible (news is promotional) — confirm with superadmin before merging

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentCopy, MDX, editorialfrontendUI, pages, components

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions