With the new ObjectDecorators, Table of Content
template has changed and my where
clause removed.
Could someone maybe help fixing this clause where I’d like it to validate one argument OR the other?
---
description: Adds a Table of Contents to pages
tags: template
hooks.top:
where: 'not pageDecoration.disableTOC or name !=~ /^person\/|^Library|^index/'
# Show all the way at the top
order: 0
---
```toc
minHeaders: 3
```