Skip to content

Sort blog post newest-oldest #21

Open

Description

@pierrelefevre

The news/blog posts are not ordered right, so if we set the weight to the iso timestamp it should fix that.

Example:
weight: 20240501

Activity

  1. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    Done, waiting for review

  2. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    Switched to incremental weights. Waiting for review.

  3. pierrelefevre commented on May 2, 2024

    @pierrelefevre
    MemberAuthor

    Hmm still upside down?
    image

  4. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    Isnt it correct? I added lowest weight to the earliest one, i.e. the March breakdown was the first one.

  5. pierrelefevre commented on May 2, 2024

    @pierrelefevre
    MemberAuthor

    Wouldn't we want the most recent article at the top of the list?

  6. pierrelefevre commented on May 2, 2024

    @pierrelefevre
    MemberAuthor

    Can't find anything about reverse sorted sections https://themes.gohugo.io/themes/hugo-book/

  7. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    Well one way is to start from 1000 and count down 😺

  8. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    But that is a problem waiting to happen, if we end up writing a lot

  9. harsha5500 commented on May 2, 2024

    @harsha5500
    Contributor

    Default: Weight > Date > LinkTitle > FilePath

  10. pierrelefevre commented on May 2, 2024

    @pierrelefevre
    MemberAuthor

    Well one way is to start from 1000 and count down 😺

    We can just add /NewerNews/2048-whatever then ;))

  11. pierrelefevre commented on May 2, 2024

    @pierrelefevre
    MemberAuthor

    newnews

  12. changed the title [-]Set weight of blog posts as their iso date[/-] [+]Sort blog post newest-oldest[/+] on May 10, 2024
  13. saffronjam commented on Jun 13, 2024

    @saffronjam
    Member

    Status of this issue? Seems like we can close it?

  14. self-assigned this
    on Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions