diff --git a/content/.vuepress/head.ts b/content/.vuepress/head.ts index 3830428..1b7a6ad 100644 --- a/content/.vuepress/head.ts +++ b/content/.vuepress/head.ts @@ -118,10 +118,9 @@ const simplifiedHead = [ ]; let head = []; -simplifiedHead.map((tag: SimplifiedHeader) => { - let tagName = tag.tag; - tag.content.forEach((element) => { - head.push([tagName, element]); +simplifiedHead.forEach((tag) => { + tag.content.forEach((element: any) => { + head.push([tag.tag, element]); }); });