Hi - https://source.unsplash.com/random has been deprecated by Unsplash since mid-2024 and returns 503. It is used as the blog-post hero image in:
layers/blog/pages/blog/posts/[id].vue L44: :src="`https://source.unsplash.com/random?${post.tags.join(',')}`"
Every blog post page in the starter kit ships with a broken hero image.
Two fix options:
- Ship a default hero image in
public/ and use it as a local fallback.
- Fetch a real image per post via
tteg at build time (no Unsplash API key): uv tool install tteg; tteg save "<tags>" ./public/blog/<slug> --orientation landscape. Repo: https://github.com/kiluazen/tteg — MIT.
Happy to send a PR if a direction is chosen.
Hi -
https://source.unsplash.com/randomhas been deprecated by Unsplash since mid-2024 and returns 503. It is used as the blog-post hero image in:layers/blog/pages/blog/posts/[id].vueL44::src="`https://source.unsplash.com/random?${post.tags.join(',')}`"Every blog post page in the starter kit ships with a broken hero image.
Two fix options:
public/and use it as a local fallback.ttegat build time (no Unsplash API key):uv tool install tteg; tteg save "<tags>" ./public/blog/<slug> --orientation landscape. Repo: https://github.com/kiluazen/tteg — MIT.Happy to send a PR if a direction is chosen.