From 2b0619f684f3b4fabdcd6457d4302f8011a059ee Mon Sep 17 00:00:00 2001 From: Jake Wiesler Date: Thu, 4 Jun 2020 15:13:42 -0400 Subject: [PATCH] anchored-headings: init partial Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> --- layouts/partials/anchored_headings.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 layouts/partials/anchored_headings.html diff --git a/layouts/partials/anchored_headings.html b/layouts/partials/anchored_headings.html new file mode 100644 index 0000000..62a5084 --- /dev/null +++ b/layouts/partials/anchored_headings.html @@ -0,0 +1,2 @@ + +{{ . | replaceRE "()" "${1}#${3}" | safeHTML }}