References shown at the end of a chapter (not in the footnote)

#2
by ummagumm-a - opened

Hello,
For some reason, the references appear at the end of my “Setup” chapter where a work was cited. I’d like them to be moved to the “References” section in the footer, as shown in this guide. Please help me understand what’s wrong.

https://huggingface.co/spaces/ummagumm-a/counting-manifolds

image

Should be fixed now !

Thanks for giving us feedback !

tfrere changed discussion status to closed

Hi, @tfrere

I should run npm run sync:template --force now?

If so, I got this error

Failed to resolve import "@zumer/snapdom" from "src/components/HtmlEmbed.astro?astro&type=script&index=1&lang.ts". Does the file exist?

Oh, interesting, i fixed it also.

The dependencies were not updated during a sync. This is now the case. :)

Thanks @ummagumm-a !

Same problem((

Also, is it possible to exclude the thumb.png from being updated in the sync? Also, I needed to change a few lines in Seo.astro (which has also updated) to set my custom thumb.

@ummagumm-a

Quick fix for now: just run yarn add @zumer /snapdom in your app/ folder — this will unblock your build immediately.

Root cause: the sync script was preserving itself, so it could never self-update. We've fixed this, but existing users need a one-time manual step:

Download the latest sync-template.mjs from the template repo and replace your app/scripts/sync-template.mjs

Run yarn sync:template — it will now automatically merge new dependencies into your package.json without overwriting your existing ones
Run yarn install

After this, all future syncs will work automatically (the script updates itself, dependencies are merged, and your thumb.* files + Seo.astro customizations are preserved).

@tfrere thanks, it worked. btw, check out the blog-post we made using your wonderful tool

Sign up or log in to comment