Skip to content

parrik/essays

Repository files navigation

parrik

Source for parrik.com — essays on systems, biology, and the practice.

Built with Astro. Deployed to GitHub Pages.

Essays

Local development

npm install
npm run dev          # localhost:4321
npm run build        # output in dist/

Adding an essay

  1. Create src/content/essays/your-essay-slug.md with frontmatter:
---
title: Your Essay Title
subtitle: Optional subtitle
tag: essay | poster | short
order: 3                     # lower = earlier in list
description: Short description for SEO / social.
pdfUrl: /your-essay-slug.pdf # optional
---
  1. The slug becomes the URL: /essays/your-essay-slug/.
  2. (Optional) Generate a PDF of the rendered essay while npm run dev is running:
npm run pdf your-essay-slug

Output lands at public/your-essay-slug.pdf.

About

on love.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors