From a5a07a5b687cfe88408e346fd6960dfe52bca7b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 31 May 2022 14:33:53 +0200 Subject: [PATCH] modified path collection for css pragma --- css.sh | 2 +- themes/default.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.2