You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate a branded OG image per route at build time with nuxt-og-image
(Takumi renderer). Sessions render a card with title, speakers, room, and
time; every other page uses a Default template. Session images are
prerendered for both zh and en.
- Add @nuxt/fonts with Noto Sans SC/TC/JP/KR (weight 400) for CJK glyph
coverage. SC is primary: Takumi selects one font per script run rather
than per glyph, and SC has the widest Han coverage (Simplified and
Traditional, each in its correct form).
- Add @iconify-json/noto for full emoji coverage (the module bundles only
~100 by default).
- Raise the build heap to 8 GB via cross-env for 4 CJK fonts + ~670 images.
- Set nitro.prerender.failOnError: false to tolerate transient Pretalx 500s.
- Drop the static site-wide og:image/twitter:image meta; the module now
injects both per page.
- Share the colors, font-family chain, logo path, and base card layout
across both templates via a small app/components/OgImage/theme.ts module.
0 commit comments