diff options
Diffstat (limited to 'layouts/partials')
| -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 1a39494..5f4ff7e 100644 --- a/layouts/partials/sidebar-toc.html +++ b/layouts/partials/sidebar-toc.html @@ -14,7 +14,7 @@ {{ $toc = $toc | replaceRE `<a href="(.*)">(.*)</a>` `<a class="sidebar-nav-item sidebar-nav-item-toc" href="$1">$2</a>` | safeHTML }} {{ if ne .Params.annotations false }} - {{ $annotation = (partial "hypothesis.html" .) }} + {{ $annotation := (partial "hypothesis.html" .) }} {{ $toc = $toc | replaceRE `<nav class="sidebar-nav">` (printf `<nav class="sidebar-nav">%s` $annotation) | safeHTML }} {{ end }} |
