From 9e33cd6c4982f9585fef740a7285b81897ce36d6 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Sat, 2 Mar 2024 16:03:47 +0100 Subject: [PATCH] Fix TOC --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 2eb47d4..d80c5ab 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -185,7 +185,7 @@ module.exports = config => { elements.forEach(element => { const heading = element.querySelector('h2, h3'); - if (heading && heading.textContent !== 'Example(s)' && heading.textContent !== 'Argument(s)') { + if (heading && heading.textContent !== 'Example(s)' && heading.textContent !== 'Argument(s)' && heading.textContent !== 'References') { toc += `
  • ${heading.textContent}
  • `; } });