refactor: refactor configuration logic

This commit is contained in:
Erzbir
2025-11-18 13:11:05 +08:00
parent 7bf2286776
commit 8adc06c65a
11 changed files with 116 additions and 101 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<div th:utext="${post.content.content}" id="content">Post Content</div>
</section>
</article>
<nav id="toc" th:if="${theme.config.basic.show_toc}" class="toc">
<nav id="toc" th:if="${theme.config.post_page.show_toc}" class="toc">
<button id="toc-toggle" class="toc-toggle" aria-label="Hide Table of Contents"></button>
<div id="toc-content" class="toc-content"></div>
</nav>