X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdefault.sh;h=e8b5f2f62802d53bfddc51f3e0dbc215a12a2df7;hb=122c9df601ce2f45a7918a048c06b763645d45ee;hp=6370166017775241ed9691cfca7c23c78b7282d7;hpb=4fb35b146e7aca6faf5945105ab36a270b7f1ad5;p=shellwiki
diff --git a/themes/default.sh b/themes/default.sh
index 6370166..e8b5f2f 100755
--- a/themes/default.sh
+++ b/themes/default.sh
@@ -1,27 +1,179 @@
#!/bin/sh
-theme_404(){
- printf "%s\r\n" "Status: 404 Not Found"
+. "$_EXEC/tools.sh"
- theme_page '/[404]/'
+theme_head(){
+ local IFS="$BR"
+ printf '
+
+ '
+ for css in "$_BASE/[.]/cgilite/common.css" "$_BASE/[.]/themes/default.css" $PAGE_CSS; do
+ printf '' \
+ "$(HTML "${css##*//}")"
+ done
+}
+
+theme_header(){
+ printf '