I would like to have a Table of Content as a block. I tried building a custom block width definition list using the “faq”-example but failed, mostly at the vue part. I tried to just use a modified list block and just add a class to it, so I can use css columns, but I failed again. I get either a <ul> with a class but no list items or I get list items without the ul with class. And I get every possible fail in between these two limited options.
What confuses me is that there a several receipts in the docs to either create a custom block or to modify it.
So I need help or otherwise I type html in a textarea and continue living stupid.
Here is my stuff at the time being:
a yml blueprint in site/blueprints/blocks called “list”. Here is its fields’n stuff:
label: Table of Content
A snippet called “list.php” in site/snippets/blocks: