Skip to content

Uniformize system that exclude some articles routes #927

Closed as not planned
Closed as not planned

Description

@julien-deramond

Note

No longer relevant: the conditions that excluded article routes (OG image, scroll progress, reading time) went away with the Starlight migration in #1686. None are left in src/. (2026-09-28)

Description

Some articles routes are excluded from the OG image generation, rendering of the progress scroll and reading time.
Almost the same, or the same, condition is copy-pasted at 3 different places and is not very handy to maintain.
The goal of this issue would be to store that in some reusable in the code.

The corresponding files can be found at https://github.com/Open-reSource/openresource.dev/pull/925/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions