From 1f388391278dadf2cae977141a432aa2f39d8614 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 17 Mar 2025 20:04:41 +0800 Subject: Remove hypothesis for annotation support. --- layouts/partials/hypothesis.html | 3 --- layouts/partials/sidebar-toc.html | 5 ----- layouts/partials/sidebar.html | 4 ---- 3 files changed, 12 deletions(-) delete mode 100644 layouts/partials/hypothesis.html (limited to 'layouts/partials') diff --git a/layouts/partials/hypothesis.html b/layouts/partials/hypothesis.html deleted file mode 100644 index 1417ea3..0000000 --- a/layouts/partials/hypothesis.html +++ /dev/null @@ -1,3 +0,0 @@ - - {{ i18n "annotate" }} - diff --git a/layouts/partials/sidebar-toc.html b/layouts/partials/sidebar-toc.html index 5f4ff7e..0e9f1fb 100644 --- a/layouts/partials/sidebar-toc.html +++ b/layouts/partials/sidebar-toc.html @@ -13,11 +13,6 @@ {{ $toc = $toc | replaceRE "(<[/]?ul>|<[/]?ol>|<[/]?li>)" "" | safeHTML }} {{ $toc = $toc | replaceRE `(.*)` `$2` | safeHTML }} - {{ if ne .Params.annotations false }} - {{ $annotation := (partial "hypothesis.html" .) }} - {{ $toc = $toc | replaceRE `