mtn / cocoa-eh-hugo-theme

A enhanced version of Cocoa. Clean, fast, and responsive theme with cool typography.
https://themes.gohugo.io/theme/cocoa-eh-hugo-theme/
MIT License
224 stars 111 forks source link

The section gets reorganised based on the last post of a list-section. #140

Closed unsungNovelty closed 5 years ago

unsungNovelty commented 5 years ago

Hi,

First of all, thanks for the amazing theme. This is not just well built but also moderately well documented unlike a lot of other themes.

The issue:

When I add a new post to "blog" section, blog gets organised to the first section. But when I add a post to another list section, that gets reorganised as the first section of the website.

Section BEFORE adding a new post to "list-section" which is a section that lists posts image

Section AFTER adding a new post to "list-section" which is a section that lists posts image

@mtn Is this an expected behaviour? If yes, how can I keep the section arranging constant? Really appreciate your time on this. :slightly_smiling_face:

mtn commented 5 years ago

I'll have to check the implementation to be sure, but that should be easy enough to change and I see no reason to not support the behavior you're suggesting. I can make a PR at some point over the next few days, or if you want to make it yourself I'm happy to help.

unsungNovelty commented 5 years ago

:ok_hand:

I just used the "blog" instead of multiple listed-sections and is thinking about using the tags to organise my posts as a work-around although I still didn't find the solution for the issue (also, that is better than multiple listed-section I feel.). The last updated list-section seems to get organised as first among the sections.

if you want to make it yourself I'm happy to help.

I really would like to but am on quite a stretch at the moment. Lemme know if you want me to close the issue. And thanks a lot for taking the time to reply. Appreciate it.

unsungNovelty commented 5 years ago

Closing this.