Only show ToC if there is more than 1 story?

I can't see a simple way to achieve this, but maybe someone has done it.

In a CM template, is there a way to not show the ToC if there is only 1 story? My client has requested that we don't show a ToC with just one headline in it.


roshodgekiss roshodgekiss, 4 years ago

Hi Ryano, there isn't a way to do this at present, I'm sorry to say. Your best bet is to manually create a table of contents, say, by having a <multiline> which is formatted in a TOC style. You can then add anchor links from within the email editor.

I'm happy to add your vote for this as a sort of conditional content and keep you posted if it's something we do - thanks for the great suggestion!

Get in touch with us on Twitter:
We're also on Facebook:

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free