The source for my personal site at mjarlund.dk.
A small, fast, pre-rendered one-pager: a short introduction, what I work on, and links to email, LinkedIn, and GitHub.
- SvelteKit with
adapter-static - Tailwind CSS v4
- TypeScript
- Served by Caddy on a self-hosted server
Requires Node.js 20.19 or newer.
npm ci
npm run devThe site runs at http://localhost:5173.
| Command | Description |
|---|---|
npm run dev |
Start the development server |
npm run build |
Build the static site to build/ |
npm run preview |
Preview the production build |
npm run check |
Type-check with svelte-check |
npm run lint |
Run Prettier and ESLint |
npm run format |
Format with Prettier |
src/
lib/
HeroSection.svelte Name, title, tagline, links
AboutSection.svelte Short introduction
site.ts Site metadata and structured data
ui/ Small layout primitives
routes/
+page.svelte Home page
wedding/ Personal invitation page, excluded from search engines
static/ Icons, preview image, robots.txt, sitemap.xml
Pushes to main build the site and rsync it to a Caddy server from a self-hosted GitHub Actions runner on the local network.
MIT. See LICENSE.
