about summary refs log tree commit diff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 9a4672e..0f104a4 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,13 +5,13 @@ SPDX-License-Identifier: MIT
 */}}
 
 {{ define "main" }}
-  <section class="index-content">
+  <section class="index-content" id="main">
     {{ .Content }}
   </section>
   {{ if in .Params.categories "book" }}
   {{ partial "post-navigation-top.html" . }}
   <section class="toc">
-    {{ partial "toc.html" . }}
+    {{ partial "toc.html" (dict "content" . "currentLink" .RelPermalink) }}
   </section>
   {{ else if in .Params.categories "blog" }}
     {{ partial "feed.html" . }}