diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-31 01:04:18 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-31 01:04:18 +0200 |
| commit | 3fe075e1369c580acb642f1fc5b8984c09d4cbe2 (patch) | |
| tree | b444e9729bd01bcb471f947153d924d534c49336 /layouts | |
| parent | 6d47b7f3462562866b1d6004fb94b66c5d6ff038 (diff) | |
| download | gohugo-theme-ed-3fe075e1369c580acb642f1fc5b8984c09d4cbe2.tar.gz | |
Fix typo
Diffstat (limited to 'layouts')
| -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 }} |
