Source code for my personal website. Visit it at soldaini.net.
- Install
uv(docs). - Install project dependencies:
uv sync
- Pages are in
content/ - Assets are in
static/ - Publications are authored in
content/publications.bibas BibTeX entries
- Main home page prose lives in
content/_index.md. - Reusable homepage HTML lives in shortcodes under
themes/soldaini/layouts/shortcodes/, includingavatar,visitor-greeting,contacts, andcompany. - Company/logo styles live in
themes/soldaini/assets/sass/theme.scss, and the logo masks live instatic/logos/.
Use shortcodes in the Markdown file:
{{< avatar >}}
{{< visitor-greeting >}}
{{< company microsoft >}}
{{< contacts >}}
Current company keys with built-in labels and links: microsoft, ai2, amazon, and georgetown. You can override the label and URL with positional arguments, e.g. {{< company microsoft "Microsoft AI" "https://microsoft.ai/" >}}.
Preview locally (published content only):
uv run hugo-previewBuild production output into public/:
uv run hugo-buildPass any Hugo flags through either command, for example:
uv run hugo-preview --bind 0.0.0.0 --port 1313
uv run hugo-build --baseURL https://example.com/All commands automatically generate data/generated/publications.json from the .bib file before invoking Hugo.