minimaJake v1.0.9 release notes
⚠️ These release notes were last updated over 1 year ago and may be outdated.
After a recent post having a lot of headings and being almost unusable on mobile, I realised the table of contents should be collapsible!
This uses the amazing <details>
element and worked straight away, all it needed was a bit of CSS tidying to line things up.
The feature is enabled by default, and can be disabled with table_of_contents_collapsible: false
in _config.yml
.
Here’s how they look expanded and shrunk, I’ve also added some example headers to this post to try it yourself: