diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-14 00:42:11 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-14 00:42:11 +0200 |
| commit | 0e59801aa257d0b7413c3f90cc0f4ada24c00d53 (patch) | |
| tree | 7be3d8f93f9616252f530f1aa79069b737c30cef /layouts/partials/sidebar-toc.html | |
| parent | b63e59c729c9e4401df15dffb5f7a5ce08f6ae2c (diff) | |
| download | gohugo-theme-ed-0e59801aa257d0b7413c3f90cc0f4ada24c00d53.tar.gz | |
Code cleanup
Diffstat (limited to 'layouts/partials/sidebar-toc.html')
| -rw-r--r-- | layouts/partials/sidebar-toc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar-toc.html b/layouts/partials/sidebar-toc.html index 18ca0e6..ee3a6f9 100644 --- a/layouts/partials/sidebar-toc.html +++ b/layouts/partials/sidebar-toc.html @@ -13,7 +13,7 @@ <a class="sidebar-nav-item" href="#" data-proofer-ignore>Return to Top</a> {{ range $item := .Params.toc }} - <!-- {% if page.url == node.url %} active{% endif %} --> + {{/* TODO: Add 'active' class for curent section */}} <a class="sidebar-nav-item sidebar-nav-item-toc" href="#{{ . | anchorize }}">{{ . }}</a> {{ end }} </nav> |
