diff options
Diffstat (limited to 'layouts/partials/sidebar.html')
| -rw-r--r-- | layouts/partials/sidebar.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 7df1a2a..59d2360 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -22,11 +22,9 @@ </a> {{- end }} - <span class="hypothesis-container"> - <a class="sidebar-nav-item" id="hypothesis-link" href="#"> - {{ i18n "annotate" }} - </a> - </span> + {{- if ne .Params.annotations false }} + {{ partial "hypothesis.html" . }} + {{- end }} {{- with site.Menus.feeds }} <div class="sidebar-nav-item"> |
