X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fdefault.sh;h=6807242cd2d6dd0445e419bd72ae62dfe5834f23;hb=7716b0023692c79ec9e923b4295b115dc995392e;hp=6370166017775241ed9691cfca7c23c78b7282d7;hpb=4fb35b146e7aca6faf5945105ab36a270b7f1ad5;p=shellwiki
diff --git a/themes/default.sh b/themes/default.sh
index 6370166..6807242 100755
--- a/themes/default.sh
+++ b/themes/default.sh
@@ -1,27 +1,175 @@
#!/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 '