From 855427186b2a57ad0d9f0966500ab1bd0613310f Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Thu, 15 Sep 2022 12:24:26 -0700 Subject: [PATCH] Fix HTML validation issues (W3C validator) (#964) Closes #963. - redundant `role="navigation"` on nav elements - redundant `type="text/javascript"` on script tags - misplaced mermaid script tag Note that [running the validator on the deploy preview](https://validator.w3.org/nu/?doc=https%3A%2F%2Fdeploy-preview-964--just-the-docs.netlify.app%2F) has no errors now! --- _includes/head.html | 4 ++-- _layouts/default.html | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index ef48ba9..e70e111 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -27,14 +27,14 @@ {% endif %} {% if site.search_enabled != false %} - + {% endif %} {% if site.mermaid %} {% endif %} - + diff --git a/_layouts/default.html b/_layouts/default.html index 34b8803..5acf1c9 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -49,7 +49,7 @@ layout: table_wrappers -