From 130f59981291e26ce8d5d8ab3e299dbb939464d5 Mon Sep 17 00:00:00 2001 From: Oscar Date: Mon, 10 Feb 2020 22:23:06 +0100 Subject: [PATCH] fix(table of content): add aria label if sub term is not defined --- .eleventy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eleventy.js b/.eleventy.js index 01f67b36..2c88bf31 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -30,7 +30,7 @@ module.exports = function(config) { )}" aria-label="${subTermData.full_title}">${subTermData.text}`; } - return subTermData.text; + return `${subTermData.text}`; }); // just a debug filter to lazily inspect the content of anything in a template