commit abca4ee462308eb0138fee57f864b8db500911a0 (patch)
parent a9ffb4cbf972c13684d1d792d12bdb01d60edb4c
Author: Alex Karle <alex@alexkarle.com>
Date: Mon, 8 Feb 2021 21:56:37 -0500
make: Add lang="en" attribute to <html> tag
As discovered by https://validator.w3c.org
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -26,5 +26,6 @@ atom.xml: blog.7 genatom.sh
@echo "mandoc $<"
$(HIDE)mandoc -Thtml -O 'man=%N.html;https://man.openbsd.org/%N.%S,style=style.css' $< \
| sed 's#</head>#<meta name="viewport" content="width=device-width,initial-scale=1">&# ' \
+ | sed 's#^<html#& lang="en"#' \
| sed '/<td class="head-vol">Miscellaneous Information Manual<\/td>/d' \
> $@