-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
astro-migrationIssues related to the Gridsome to Astro migrationIssues related to the Gridsome to Astro migration
Description
Description
News and event items with external_url frontmatter are not redirecting to the external URL. Instead, they render an empty page on the hub.
Example
https://github.com/galaxyproject/galaxy-hub/blob/master/content/news/2025-09-25-embl-erga/index.md
This news item has:
external_url: https://www.erga-biodiversity.eu/post/erga-at-the-embo-course-in-genome-sequencing-assembly-curation-and-downstream-analysesIn Gridsome, clicking on this news item redirects to the external URL. In Astro, it renders the page without content.
Fix needed
The Astro pages (src/pages/news/[...slug].astro, src/pages/events/[...slug].astro) need to:
- Check if
external_urlis set in the article/event data - If so, return a redirect response to that URL instead of rendering the page
May also need to ensure external_url is in the articles schema (currently only in events schema).
Reported by: Bjoern
Metadata
Metadata
Assignees
Labels
astro-migrationIssues related to the Gridsome to Astro migrationIssues related to the Gridsome to Astro migration
Type
Projects
Status
REPORT HERE