Instalacja componentu


wget https://dafr32.smallhost.pl/sites/default/files/attachments/toc.zip -P components/
unzip components/toc.zip -d components/
rm components/toc.zip

Wymaga biblioteki w theme.libraries

tocbot_library:
  remote: https://github.com/tscanlin/tocbot
  version: 4.x
  license:
    name: MIT
    url: https://github.com/tscanlin/tocbot/blob/master/LICENSE
    gpl-compatible: true
  js:
    //cdn.jsdelivr.net/npm/tocbot@4/dist/tocbot.min.js:
      { type: external, minified: true }

Załączniki

toc.zip (2.31 KB)