setr / redsystem

Static blog generator with cyclical digraph structure
https://setr.github.io/redsystem/index.html
0 stars 1 forks source link

The post sidebar needs to also list its parents #6

Closed setr closed 5 years ago

setr commented 5 years ago

Use ➤ rotated -90 to specify that its a parent instead of a child

Parents should come before the children

We'll need to store parent_names in the structs now as well, for posts. This would map to the canonical names, and be deduplicated

Bonus: If its a post in a category view, skip listing the immediate parent, since it'll obviously be there. Maybe not worth doing, because then the sidebar will look different from the actual post.