Skip to content

Hide redundant year in dates shown in the Archive page #9830

@ilg-ul

Description

@ilg-ul

Have you read the Contributing Guidelines on issues?

Description

In the Archive page, when listing the the post titles grouped by years, there is not need to show the year again, since it is redundant.

hide-year

Has this been requested on Canny?

No.

Motivation

Mainly for aesthetic reasons, since the year is already shown as a section title, and repeating it in each subsequent entry is redundant.

API design

To control this new feature add a hidePostYearInArchive option.

Have you tried building it?

The functionality is implemented in cronica-it@0da5a7d.

Self-service

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    apprenticeIssues that are good candidates to be handled by a Docusaurus apprentice / traineefeatureThis 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