17/12/2020

The archive contains older posts which may no longer reflect my current views.

# A couple of hours spent refactoring and restructuring and I've got some things working more reliably than before across the garden and journal.

I went back to the way parent/child garden pages operate opting to use the native post_parent attribute instead of my custom solution but this caused an issue when pages were archived. By removing the parent when archiving the page (and re-applying it if unarchiving the page) I've worked around this and it's quite an elegant solution.

I've also reworked the content filters (adding hashes to sections etc.) to work better with the journal posts as there was an issue when trying to navigate directly to a section.

It feels good when little things like this are fixed.