diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c848d41..db883ff 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -9,6 +9,12 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - name: Install Google Fonts + run: | + wget -O atkinson.zip https://fonts.google.com/download?family=Atkinson%20Hyperlegible + unzip -d atkinson/ atkinson.zip + mv atkinson /usr/share/fonts/ + fc-cache -fv - name: Checkout uses: actions/checkout@v2 diff --git a/_config.ts b/_config.ts index bf36b5e..8073f35 100644 --- a/_config.ts +++ b/_config.ts @@ -9,7 +9,7 @@ import tailwindConfig from "./tailwind.config.ts"; await checkPrerequisities(); export const site = lume({ - location: new URL("https://wuespace.github.io/vos/") + location: new URL("https://wuespace.github.io/vos/"), }); site.use(jsx()); diff --git a/lib/typst-delegis.ts b/lib/typst-delegis.ts index 6d3b672..a92145c 100644 --- a/lib/typst-delegis.ts +++ b/lib/typst-delegis.ts @@ -8,7 +8,7 @@ export const typstDelegis = () => (site: Site) => { const urls: Record = {}; await Promise.allSettled(filteredPages.map(async (page) => { const metadata = await readMetadata(site.src(page.sourcePath)); - urls[page.data.url] = metadata; + urls[site.url(page.data.url)] = metadata; allPages.push(Page.create({ url: page.data.url + "info.json",