diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 07be079..62be1bb 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -270,6 +270,7 @@ top: 100px; width: 300px; font-size: .9em; + z-index: 1; } } @@ -295,6 +296,9 @@ .toc li ul { margin-inline-start: var(--gap); } +.toc li a.active { + text-decoration: underline; +} .toc summary:focus { outline: 0; diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d76058f..d533987 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -133,3 +133,52 @@ }); {{- end }} + +{{- if (and (eq .Kind "page") (.Param "ShowToc") (.Param "TocSide")) }} + +{{- end }}