Skip to content

Contribution: Add ability to change the date format #79

@aborg-dev

Description

@aborg-dev

I would like to use a different date format for posts, e.g. "January 9, 2025" instead of "2025-01-09".

In my understanding, the date format is currently hardcoded here:

{{ page.date | date(format="%Y-%m-%d") }}

I imagine adding this would be as simple as:

  • Introduce a new date_format value in the config
  • Use that value in the template above

Would that be a reasonable plan and a welcome change? If so, I'll be happy to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions