How danielbdt-git/stus-news-web works
Stu’s News is an Astro-based news website. Its documented content workflow is for contributors to add Markdown stories under src/pages/stories, with frontmatter selecting StoryLayout.astro; the site also has home and about pages and shared presentation components. The available source excerpts cover only package and Astro configuration, so runtime page-to-component relationships and other implementation details are not verified and are omitted.
Main entry points: stories Markdown stories · StoryLayout.astro Story layout
Components 8
Story content
- Markdown stories
src/pages/stories - Member data
src/members.json
Site pages
- Home page
src/pages/index.astro - About page
src/pages/about.astro
Presentation
- Story layout
src/layouts/StoryLayout.astro - Base layout
src/layouts/BaseLayout.astro - Shared components
src/components
Other components
- Contributor
Connections 2
- Contributor → Markdown stories: adds stories
README.md - Markdown stories → Story layout: selects layout
README.md