mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Fix check-whole-site script
- Renamed some makefile jobs - Added missing include directive
This commit is contained in:
parent
e7ceb122a5
commit
696af47454
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
# The following test the online instance, post-deploy. I just kept them here for convenience
|
# The following test the online instance, post-deploy. I just kept them here for convenience
|
||||||
|
|
||||||
|
include Makefile
|
||||||
DOMAIN = seirdy.one
|
DOMAIN = seirdy.one
|
||||||
PAGE_PATH = /
|
PAGE_PATH = /
|
||||||
SCHEME=https://
|
SCHEME=https://
|
||||||
|
|
|
@ -59,7 +59,7 @@ while getopts "hb" flags; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize lint-html
|
make -j1 HUGO_FLAGS=-DF HUGO_BASEURL="$base_url" clean hugo xhtmlize validate-html
|
||||||
make -j2 -f Makefile.online lint-css axe equal-access URLS="$(curl "$base_url/sitemap.xml" | htmlq loc -t | rg -v '/search/$' | tr '\n' ' ')"
|
make -j2 -f Makefile.online lint-css axe equal-access URLS="$(curl "$base_url/sitemap.xml" | htmlq loc -t | rg -v '/search/$' | tr '\n' ' ')"
|
||||||
|
|
||||||
# vi:ft=sh
|
# vi:ft=sh
|
||||||
|
|
Loading…
Reference in a new issue