X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;ds=inline;f=themes%2Fdefault.sh;h=de357871bd49695f9a2b01efc81c1f12178b2628;hb=9684cabf3651df8369d71c7a60e9235730dbe978;hp=6370166017775241ed9691cfca7c23c78b7282d7;hpb=4fb35b146e7aca6faf5945105ab36a270b7f1ad5;p=shellwiki
diff --git a/themes/default.sh b/themes/default.sh
index 6370166..de35787 100755
--- a/themes/default.sh
+++ b/themes/default.sh
@@ -1,27 +1,204 @@
#!/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/%5B.%5D/cgilite/common.css" "$_BASE/%5B.%5D/themes/default.css" $PAGE_CSS; do
+ printf '' \
+ "$(HTML "${css##*//}")"
+ done
+}
+
+theme_header(){
+ printf '
![](%s)
[%s](%s)
' "$att" "$att" + ;; + esac + done) +