Version 4 of my personal website and blog, https://haseebmajid.dev
  • CSS 24.9%
  • TypeScript 23.6%
  • JavaScript 16.9%
  • HTML 14.3%
  • Python 6.9%
  • Other 13.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Haseeb Majid ade718f4cb
All checks were successful
Preview / prune (pull_request) Has been skipped
Deploy / build (pull_request) Successful in 1m57s
Preview / publish (pull_request) Has been skipped
Preview / remove (pull_request) Successful in 16s
Deploy / build (push) Successful in 4m6s
feat(ui): label talks on tag pages
Tag pages now mix posts and talks, so count entries rather than
posts and mark talks with a chip like TILs.
2026-12-01 19:20:53 +00:00
.forgejo/workflows ci: fail the build on Hugo warnings 2026-12-01 19:20:53 +00:00
archetypes fix(seo): drop hard-coded canonicalURL front matter 2026-12-01 19:20:24 +00:00
assets feat(ui): split the mobile header into two rows 2026-12-01 19:20:53 +00:00
content fix(tags): fold one-off tags into broader topics and tag the talks 2026-12-01 19:20:53 +00:00
data fix(tags): fold one-off tags into broader topics and tag the talks 2026-12-01 19:20:53 +00:00
i18n feat(theme)!: replace PaperMod with a standalone theme on Hugo's v0.146 layout 2026-11-15 21:13:11 +00:00
layouts feat(ui): label talks on tag pages 2026-12-01 19:20:53 +00:00
nix feat: v3 go labs kafka talk 2026-10-18 21:27:34 +01:00
scripts fix(ci): retry preview uploads when the machine is replaced 2026-11-30 21:35:30 +00:00
static feat(theme)!: replace PaperMod with a standalone theme on Hugo's v0.146 layout 2026-11-15 21:13:11 +00:00
.dockerignore ci: deploy to Fly from Forgejo Actions 2026-11-30 17:44:57 +00:00
.editorconfig article: pocketbase, sveltekit oauth2 2022-12-17 11:29:30 +00:00
.envrc feat: new article how to install hyprland on ubuntu 22.04 2023-11-14 22:53:52 +00:00
.gitignore ci: deploy to Fly from Forgejo Actions 2026-11-30 17:44:57 +00:00
.markdownlint.yaml 2024 07 26 how i configured zellij status bar 2024-07-19 22:28:16 +00:00
AGENTS.md docs: document running the blog locally in AGENTS.md 2026-12-01 19:20:24 +00:00
cspell.json feat(server): send security headers and short-lived HTML caching 2026-12-01 19:20:53 +00:00
Dockerfile ci: deploy to Fly from Forgejo Actions 2026-11-30 17:44:57 +00:00
flake.lock build: bump nixpkgs for hugo 0.170 2026-11-29 23:08:43 +00:00
flake.nix build: add flyctl to the devshell 2026-11-30 20:44:13 +00:00
fly.toml ci: publish labelled PR previews to the Fly app 2026-11-30 20:44:14 +00:00
hugo.toml chore(links): point repo links at Forgejo 2026-12-01 19:20:53 +00:00
README.md docs: refresh README for the current theme and Forgejo deploy 2026-12-01 19:20:53 +00:00
Taskfile.yml build: fetch MonoLisa webfont from private nixicle-assets at build time 2026-11-19 20:13:43 +00:00

Blog

My personal website and blog, built with Hugo and published at https://haseebmajid.dev. The blog can also be read over SSH: ssh -p 23234 ssh.haseebmajid.dev.

Usage

The Nix devshell (flake.nix, activated by direnv) provides Hugo and every other tool. See AGENTS.md for more detail on running and checking the site locally.

# Serve the site with drafts and future posts
task start_server

# Production build into public/
task build

# Create a new post bundle on its own branch
task new_post

task fonts fetches the licensed MonoLisa webfont from the private nixicle-assets repo. Without access, the site falls back to a system monospace font.

Deployment

Forgejo Actions (.forgejo/workflows/deploy.yml) builds the site and deploys it to Fly (haseebmajid-sites) on every push to main.

  • The image is static-web-server serving public/, configured by sws.toml, which Hugo generates from data/redirects.toml (layouts/home.sws).
  • Adding the preview label to a PR publishes it at https://haseebmajid.dev/preview/pr-<n>/ (.forgejo/workflows/preview.yml, scripts/preview.sh).
  • Secrets: FLY_API_TOKEN (deploy token for the app) and NIXICLE_ASSETS_TOKEN (read-only, for MonoLisa).

Talks and slides

The talks page lists every talk with links to its slides, PDF and recording. Slide sources live in the separate slides repository, published at https://slides.haseebmajid.dev/.

data/redirects.toml keeps the old /slides/... URLs (printed QR codes, conference links) and a few merged tag feeds redirecting permanently. Do not remove these mappings.

Theme

The theme started as a fork of PaperModX and is now a standalone theme in layouts/ and assets/. Some of its features:

  • Open Graph cards generated by Hugo (layouts/_partials/og-image.html).
  • Full-text search with Fuse.js, loaded on demand.
  • Light/dark mode and two palettes (Catppuccin and Fireside).
  • Mermaid diagrams, terminal-style code blocks, code tabs, sidenotes and notice admonitions.
  • Series, TIL, talks, projects, /uses and a site-history page.
  • Privacy-friendly page views with self-hosted Umami.

Appendix