cat <<-EOF
<!DOCTYPE HTML>
- <html><head>
+ <html${LANGUAGE:+ lang=\"${LANGUAGE}\"}><head>
$(theme_head)
<title>${title}</title>
</head><body id="$(HTML "${PATH_INFO}")">
500) printf "%s\r\n" "Status: 500 Internal Server Error";;
esac
- if [ "$(mdfile "/[wiki]/$errno/")" ]; then
+ if mdfile "/[wiki]/$errno/" >&-; then
theme_page "/[wiki]/$errno/"
else
printf "Content-Length: 0\r\n\r\n"