Skip to content

Repository files navigation

My personal research website and blog, based on Astro.

Requirements

  • Node.js 20 or newer
  • npm

Local Preview

Install dependencies once:

npm install

Start the local preview:

npm run dev

Writing A Post

Create a draft post:

npm run new:post -- "Post title"

Create a German draft post:

npm run new:post -- "Beitragstitel" --lang de

The new file is created under src/content/blog/en/ or src/content/blog/de/ with draft: true. Change draft to false when the post is ready to publish.

Site Content

  • Personal details in src/data/profile.ts.
  • Blog posts in src/content/blog/en/ and src/content/blog/de/.
  • Research items in src/content/research/en/ and src/content/research/de/.
  • Projects in src/content/projects/en/ and src/content/projects/de/.
  • Each translated pair should share the same translationKey; each language can use its own slug.

Deployment

The site is deployed by GitHub Actions. The workflow validates the content, builds the static site, and publishes the generated dist/ output to GitHub Pages.

Contributors

Languages