This repository contains the source for foundationmodels.dk, built with Zensical.
- uv (Python package manager)
If you don't have uv installed, running make install will install it automatically.
Install dependencies:
make installBuild both languages and serve them at http://127.0.0.1:8000:
make serveServe a single language with live reload:
make serve-en
make serve-daNote that make serve-da does not show images, as the Danish site shares its assets with the English site through symlinks, which Zensical does not follow. make build copies them in.
Build the static site into site/:
make builden/docs/ # English site content (Markdown)
index.md # Front page
news/ # News/blog posts
_static/ # Images, CSS, logos
home.css/js # Front page: hero, latest-news banner (read from news/index.html)
map/ # Collaboration map; edit NODES in dfm-map.js to add or move collaborators
da/docs/ # Danish site content; _static and news/images are symlinks to en/docs
overrides/ # Theme overrides
zensical.toml # English configuration (built into site/)
zensical.da.toml # Danish configuration (built into site/da/)
The two languages are built as separate projects and linked through the language selector (extra.alternate).
Create a new Markdown file in both en/docs/news/posts/ and da/docs/news/posts/ with the following frontmatter:
---
draft: false
date: YYYY-MM-DD
tags:
- Model Release # or: Paper, News, Behind the Scenes
---
# Post title
Intro paragraph (shown in the post listing).
<!-- more -->
Full post content here.