diff --git a/config.yaml b/config.yaml index ae4a769..612c1a4 100644 --- a/config.yaml +++ b/config.yaml @@ -21,6 +21,10 @@ markup: renderer: # Render newlines as
hardWraps: true + tableOfContents: + endLevel: 3 + ordered: false + startLevel: 2 # Disable all privacy unfriendly stuff privacy: diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html index 62dfc37..d94f3ae 100644 --- a/themes/chosto/layouts/_default/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -5,87 +5,84 @@ with all other blog posts belonging to that case, emphasis to the current. Still use empty container if nothing to show for homogeneous layout --> - {{ if (and .IsPage (eq .FirstSection.Section "posts"))}} - {{ with .CurrentSection }} - {{ if .Params.Title }} -
-
-