Skip to content

xiaoxiae/slama.dev

Repository files navigation

slama.dev (Hugo)

Prerequisites

  • Hugo (extended version)
  • uv (Python, ruff)
  • Node.js (html-validate, pa11y, prettier)
  • lychee (link checking)

Setup

uv sync
npm install
uv run pre-commit install

Development

./site serve   # Start dev server (with drafts)
./site build   # Build the site
./site check   # Run checks (HTML, links, accessibility)
./site upload  # Upload to VPS
./site all     # Build and upload (default)

Pre-commit Hooks

Runs on commit via uv run and npx:

  • ruff - Python linting and formatting
  • prettier - SCSS formatting

About

The source code to my personal website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14