From 6487c5c7f3ebfd046f595cf5dd4aff7014f31875 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sun, 26 Nov 2023 14:57:56 -0800 Subject: [PATCH] Make html-validate skip redirect page --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b2873e..88113cd 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ hint: hugo .hintrc-local .PHONY: html-validate html-validate: - pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json $(OUTPUT_DIR) + find $(OUTPUT_DIR) -type f -name "*.html" | grep -v 'resume/index.html' | xargs pnpm -s dlx html-validate --ext=html -c linter-configs/htmlvalidate.json .validate-feed-main: scripts/bin/validate-feed file://$(PWD)/$(OUTPUT_DIR)/atom.xml