Really quite nice for a personal/professional blog

@lorcand I suppose there might be some kind of JS way to detect if there are any H1s or H2 etc. within a page’s .c-content area and which you could easily just drop into your site’s code injection footer, but I don’t know JS so I can’t help you there.

Alternatively, the way I remove the TOC section on my site when I don’t want it there is to integrate a {{#has}} helper. Depending on if you have fewer posts that utilise TOC functionality or not, you can create either the internal tag #yes-TOC or #no-TOC and then apply those to the relevant posts. Then in the portion of your theme where you call the TOC itself, wrap that in

{{#has tag="#yes-TOC"}}
    <div class="toc"></div>
{{/has}}

or on the other hand

{{^has tag="#no-TOC"}}
    <div class="toc"></div>
{{/has}}

You may have to bring the {{#has}} helper one level higher to wrap around the
<div class="u-bg-white u-border u-border-radius u-p-32">...</div> portion, from what I see on your site.