- 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

@@ -99,12 +99,9 @@ $isExpired = !is_null($this->item->publish_down) && $this->item->publish
echo $this->item->toc;
endif; ?>
<div itemprop="articleBody" class="com-content-article__body">
<nav id="toc" data-toggle="toc"></nav>
<?php
if (strpos($this->pageclass_sfx, 'no-toc') === false) {
echo '<nav id="toc" data-toggle="toc"></nav>';
}
?>
<?php echo $this->item->text; ?>
echo $this->item->text; ?>
</div>
<?php if ($info == 1 || $info == 2) : ?>