X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.sh;h=541f71361ae5e24a1f4b09f61d91172c4dff5b35;hb=08f0f74da3cd335f0acf58dc1f6370848dc1dbd8;hp=3812f060b7dd1ce3d7ccb4c1b277712a40a0d139;hpb=ac6c98bd35d32425608eaafe1cbf2efcd38a478a;p=shellwiki diff --git a/themes/default.sh b/themes/default.sh index 3812f06..541f713 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -40,14 +40,14 @@ theme_pagemenu(){ theme_page(){ local page="$1" title="$2" - title="$(HTML "${title:-"${page}"}")" + title="$(HTML "${title:-"${PAGE_TITLE:-"${page}"}"}")" # Important! Web Server response including newline printf "%s\r\n" "Content-Type: text/html; charset=utf-8" "" cat <<-EOF - + $(theme_head) ${title}