Skip to content

Add pageBasePath to blog plugin configuration #9828

Closed
@ilg-ul

Description

@ilg-ul

Have you read the Contributing Guidelines on issues?

Description

Allow to configure the URL part for multi-page lists, currently hard coded as page.

Has this been requested on Canny?

No response

Motivation

In Docusaurus, the URL parts used to compose the paths are configurable via options like routeBasePath, tagsBasePath, etc, but in the path used for multi-page lists, a part of the URL is hard-coded as page.

This feature can be useful for example when all paths are translated to local languages.

API design

To control this new feature add a pageBasePath option.

Have you tried building it?

The functionality is implemented in cronica-it@be48705.

Self-service

  • I'd be willing to contribute this feature to Docusaurus myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions