Personal site of Adam Lineberry — notes and writing on machine learning and data science.
Built with Astro, deployed to GitHub Pages via Actions.
npm install
npm run devThen open http://localhost:4321.
To preview a production build:
npm run build
npm run preview- Posts live in
src/content/posts/as Markdown (or MDX). - Each post needs frontmatter:
--- title: "Post title" date: 2024-01-15 description: "Short summary used for SEO and the post list." tags: ["machine learning", "deep learning"] permalink: /some/url/ # required; controls the URL exactly isNote: false # set true to land it on /notes/ instead of homepage math: true # enable KaTeX rendering for $...$ and $$...$$ ---
- Images go in
public/images/and are referenced as/images/path.png.
src/pages/index.astro— homepage (essays only)src/pages/notes/index.astro— notes archivesrc/pages/about.astro— about pagesrc/pages/[...slug].astro— catch-all for post routes (usespermalinkfrom frontmatter)
.github/workflows/deploy.yml builds and publishes to GitHub Pages on every push to master. Pages source must be set to "GitHub Actions" in the repo settings.