1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 17:52:11 +00:00

Make html-validate skip redirect page

This commit is contained in:
Rohan Kumar 2023-11-26 14:57:56 -08:00
parent c98b28f6fe
commit 6487c5c7f3
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -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