change doctype to html5

The resulting html files have the doctype  html5 now
This commit is contained in:
susca 2017-08-13 21:20:38 +02:00 committed by GitHub
parent 89780c3108
commit 82c25d7e80

4
bb.sh
View file

@ -936,8 +936,8 @@ create_includes() {
if [[ -f $header_file ]]; then cp "$header_file" .header.html
else {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
echo '<html xmlns="http://www.w3.org/1999/xhtml"><head>'
echo '<!DOCTYPE html>'
echo '<html><head>'
echo '<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />'
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0" />'
printf '<link rel="stylesheet" href="%s" type="text/css" />\n' "${css_include[@]}"