mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
18 lines
469 B
Plaintext
18 lines
469 B
Plaintext
<!-- Simple Timeline TOC -->
|
|
<% if (is_post()) { %>
|
|
<div id="toc-container" class="toc-container">
|
|
<nav id="toc-list" class="toc-list" role="navigation" aria-label="Table of Contents">
|
|
<!-- TOC items will be inserted here by JavaScript -->
|
|
</nav>
|
|
</div>
|
|
|
|
<script>
|
|
// TOC functionality will be added to main.js
|
|
window.addEventListener('DOMContentLoaded', function() {
|
|
if (typeof window.initTOC === 'function') {
|
|
window.initTOC();
|
|
}
|
|
});
|
|
</script>
|
|
<% } %>
|