From: Paul Hänsch Date: Tue, 31 May 2022 12:33:53 +0000 (+0200) Subject: modified path collection for css pragma X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a5a07a5b687cfe88408e346fd6960dfe52bca7b7;p=shellwiki modified path collection for css pragma --- diff --git a/css.sh b/css.sh index 97c03ac..f640905 100755 --- a/css.sh +++ b/css.sh @@ -32,7 +32,7 @@ css(){ p; n; s;\r$;;; /^(%[ \t]+|%css[ \t]+|[ \t]+)[^ \t\r]+$/bCSS; /^(%[ \t]*|%css[ \t]*)$/bCSS; - ' <"$pagefile")${css}" + ' <"$pagefile")${BR}${css}" done printf %s\\n "${css}" diff --git a/themes/default.sh b/themes/default.sh index f9dfe41..09e12f2 100755 --- a/themes/default.sh +++ b/themes/default.sh @@ -9,7 +9,7 @@ theme_head(){ ' for css in "$_BASE/[.]/cgilite/common.css" "$_BASE/[.]/themes/default.css" $PAGE_CSS; do printf '' \ - "$(HTML "${css#/}")" + "$(HTML "${css##*//}")" done }