Stories list on the index page does not show posts #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The site index page, https://blog.babka.social has a section for "All stories", which is driven by:
https://gitlab.com/babka_social/babka-social-blog/-/blob/main/index.html#L34
There are two stories. The sticky story does not show up, which is correct, but it doesn't appear the other story does either, which means they're something wrong with either the second story, or something else.
That should be fixed.
assigned to @vosaul
@emacsen
The algorithm for building a home page is as follows:
So as long as you have less than 5 posts, the "all posts" section will be empty.
I think this is logical, but if you want to change this algorithm, I will change it.
I think it's logical too, but right now it also shows as "All stories" with no content.
I don't know if wrapping the "All stories" in an
{ %if ...would break the layout, but if not, then I think not showing all stories at all if the length is too short is the right way to address this.Yes, you're right, I'll do it
mentioned in merge request !10
mentioned in commit
4c03b40e35