Skip to content
Public template

About

A clean portofolio template for Astro.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Aster flower mark

Aster

An editorial Astro template for projects, case studies, and long-form writing.
Built for independent designers and developers who want the work and the thinking behind it to live together.

Live demo · Explore projects · Component showcase

Aster homepage showing its editorial introduction and selected projects

Aster gives your portfolio and your writing a shared narrative. Projects show the finished work; posts preserve the decisions, experiments, and lessons behind it. Link a post to a project in one frontmatter field and Aster brings that context back to the project page automatically.

The design stays deliberately quiet: expressive typography, generous space, thin rules, and lists that reveal structure without turning every entry into a card.

Why Aster

  • Projects and writing belong together. Separate Astro collections keep each content type focused, while optional project references connect related articles and case studies.
  • Editorial by default. The included layouts are responsive, accessible, dark-mode ready, and designed to let titles and descriptions carry the page.
  • Content stays portable. Projects and posts are ordinary Markdown or MDX files validated by Astro content collections.
  • Ready beyond the homepage. Pagination, related posts, a full-content RSS feed, sitemap, 404 page, metadata, and reduced-motion behavior are already included.
  • A richer MDX vocabulary. @prosefly/astro-components adds callouts, cards, tabs, steps, file trees, galleries, embeds, and media components when Markdown alone is not enough.

Quick start

git clone https://github.com/prosefly/astro-template-aster.git aster
cd aster
npm install
npm run dev

Astro starts the local site at http://localhost:4321.

Make it yours

  1. Update the site identity, URL, navigation, footer, and content settings in src/data/config.ts.
  2. Replace the example entries in src/content/projects/ and src/content/blog/ with your own work.
  3. Replace public/images/aster-mark.svg and public/favicon.svg if you want a different identity.

Most sites only need to touch those places. Layouts, feeds, routes, and metadata all read from the same configuration and collections.

Content model

Projects and posts are separate collections with schemas in src/content.config.ts:

src/
  content/
    projects/   # Case studies and project details
    blog/       # Articles and implementation notes
  content.config.ts
  data/
    config.ts   # Site-wide identity, links, navigation, and content settings
  pages/
    projects/
    blog/

Add a project reference to a blog post to show it as related writing on that project's page:

---
title: One Component Layer, Two Astro Themes
project: astro-components
---

The relationship stays in the content: Astro validates it during the build, and the project route collects its related posts before rendering.

Built with

Foundation What it provides
Astro 7 Static output, content collections, routing, RSS, and sitemap generation
Tailwind CSS 4 Layout, spacing, color, responsive behavior, and typography utilities
MDX Long-form content with components where structure helps
Prosefly Astro Components Reusable callouts, cards, tabs, trees, galleries, embeds, and media
Geist + Instrument Serif A restrained sans-and-serif editorial type system

See every included MDX component rendered together in the component tour.

Configuration

Pagination and related-post limits live with the rest of the site settings:

content: {
  blog: { postsPerPage: 20 },
  projects: { relatedPostsLimit: 3 },
}

The first blog page uses /blog/; later pages use /blog/page/2/, /blog/page/3/, and so on.

Commands

Command Action
npm run dev Start the development server
npm run check Run Astro and TypeScript checks
npm run build Build the static site
npm run preview Preview the production build
npm run format Format the project
npm run format:check Check formatting without changing files

Deploy

Run npm run build and deploy the generated dist/ directory to any static host, including Cloudflare Pages, Netlify, Vercel, or GitHub Pages.

License

BSD-3-Clause

About

A clean portofolio template for Astro.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages