- Restored Default Article Override
- Created Table of Contents article override
- Added TOC skip to Comments Heading
- Localized AFeld/Bootstrap-TOC files
This commit is contained in:
2025-07-10 22:21:19 -05:00
parent 1dca9ddb0b
commit 6f75cd5c03
12 changed files with 526 additions and 10 deletions

View File

@@ -157,10 +157,10 @@ if ($this->params->get('fA6KitCode')) {
$wa->getAsset('style', 'fontawesome')->setAttribute('rel', 'lazy-stylesheet');
}
// Add Bootstrap TOC CSS
$this->addStyleSheet('https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.css');
$this->addStyleSheet($templatePath . '/css/vendor/afeld/bootstrap-toc.min.css');
// Add Bootstrap TOC JS (should be loaded after Bootstrap JS)
$this->addScript('https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js');
$this->addScript($templatePath . '/js/vendor/afeld/bootstrap-toc.min.js');
?>
<!DOCTYPE html>