Commit b0526b5f authored by wbar's avatar wbar
Browse files

pages template : isolate TOC in div + add real title instead of CSS hack to display text

parent 912a4a73
......@@ -5,7 +5,10 @@
</header>
{{ with .Params.show_toc }}
{{ $.TableOfContents }}
<div id="toc">
<h2>Table des matières</h2>
{{ $.TableOfContents }}
</div>
{{ end }}
{{ .Content }}
......
......@@ -102,5 +102,5 @@ ul li a[href*='framapiaf.org']:before {content: url('/images/icons/masto.png');
.archives-list {padding-left: 0px; list-style-type: none;}
#TableOfContents {font-size: 90%; background-color: #111; padding: 0.5em 0 0.5em 1.0em; }
#TableOfContents::before {content: "Sommaire";}
#toc {font-size: 90%; background-color: #111; padding: 0.5em 0 0.5em 1.0em; }
#toc h2 {margin-top: 0px;}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment