From 7160c761c1baddbe3ad613be9aa54a093fe01386 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 8 Oct 2021 20:44:19 -0500 Subject: [PATCH] Don't skip headers for table of contents --- assets/css/bobastyle.css | 4 ++++ layouts/_default/single.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index e7f3b2b..0c3d893 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -60,6 +60,10 @@ h1 svg.icon { /* Content formatting */ +#table-of-contents h2 { + font-size: 20px; +} + .content { padding: 20px; } diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6bb1f47..1721c4d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -35,7 +35,7 @@ {{ if .Params.Toc }}
-

Table of Contents

+

Table of Contents

{{ .TableOfContents }}