removing custom TOC from single.html
This commit is contained in:
@@ -26,21 +26,16 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{/* The Relative Wrapper: Acts as an anchor for the absolute TOC */}}
|
{{/* The Content Wrapper: Standard Blowfish structure */}}
|
||||||
<div class="single-post-wrapper relative mt-8 w-full max-w-7xl mx-auto px-4">
|
<div class="mt-8 px-4">
|
||||||
|
<div class="container mx-auto prose dark:prose-invert">
|
||||||
{{/* Sidebar TOC: Mobile flow (Top), Desktop absolute (Right) */}}
|
|
||||||
{{ if .Params.showTableOfContents | default site.Params.article.showTableOfContents }}
|
{{ if .Params.showTableOfContents | default site.Params.article.showTableOfContents }}
|
||||||
<aside id="sidebar-toc" class="w-full mb-8 xl:mb-0">
|
<div class="toc-container mb-8">
|
||||||
<div class="toc sticky top-24">
|
|
||||||
{{ partial "toc.html" . }}
|
{{ partial "toc.html" . }}
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* Main Content: Dead center, uninfluenced by anything */}}
|
<article class="article-content">
|
||||||
<section id="main-content" class="w-full">
|
|
||||||
<div class="article-content prose dark:prose-invert mx-auto">
|
|
||||||
{{ partial "series/series.html" . }}
|
{{ partial "series/series.html" . }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
@@ -58,9 +53,8 @@
|
|||||||
{{ partial "sharing-links.html" . }}
|
{{ partial "sharing-links.html" . }}
|
||||||
{{ partial "related.html" . }}
|
{{ partial "related.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="pt-8 mt-12 border-t border-neutral-200 dark:border-neutral-800 max-w-prose mx-auto px-4">
|
<footer class="pt-8 mt-12 border-t border-neutral-200 dark:border-neutral-800 max-w-prose mx-auto px-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user