kthcloud / docs

kthcloud documentation
http://docs.cloud.cbh.kth.se
1 stars 0 forks source link

Sort blog post newest-oldest #21

Open pierrelefevre opened 4 months ago

pierrelefevre commented 4 months ago

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

harsha5500 commented 4 months ago

Done, waiting for review

harsha5500 commented 4 months ago

Switched to incremental weights. Waiting for review.

pierrelefevre commented 4 months ago

Hmm still upside down? image

harsha5500 commented 4 months ago

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

pierrelefevre commented 4 months ago

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

pierrelefevre commented 4 months ago

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

harsha5500 commented 4 months ago

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

harsha5500 commented 4 months ago

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

harsha5500 commented 4 months ago

Default: Weight > Date > LinkTitle > FilePath

pierrelefevre commented 4 months ago

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

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

pierrelefevre commented 4 months ago

newnews

saffronjam commented 2 months ago

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