8000 Blog posts sort order wrong for multiple posts on same day · Issue #6461 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Blog posts sort order wrong for multiple posts on same day #6461

@miketheman

Description

@miketheman

Context

Thanks for the really awesome tool!

I recently noticed that when publishing multiple posts on a single date, there's no real way to "manually" sort them in to a desired order.

Bug description

When supplying a date metadata, the full value is not used to control the sort order.

---
date: 2023-06-06T00:00:01
---
vs
---
date: 2023-06-06T00:00:02
---

Related links

Reproduction

9.5.0-blog-post-sort-order-wrong.zip

Steps to reproduce

  1. Load the attached repo
  2. Run mkdocs serve
  3. Observe the incorrect sort order of Mid 1, Mid 2, Mid 3 - where it should be reversed.
    This is seen in both the main text and the TOC right sidebar.

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0