3 [ "$include_css" ] && return 0
7 local path="${1:-${PATH_INFO}}"
9 # Get directory part of PATH_INFO
13 [ "$path" = / ] && break
16 if [ -f "$_DATA/pages/$path/#page.md" ]; then
17 pagefile="$_DATA/pages/$path/#page.md"
18 elif [ -f "$_EXEC/pages/$path/#page.md" ]; then
19 pagefile="$_EXEC/pages/$path/#page.md"
26 /^%css([\t ]+.*)?$/bCSS;
33 /^(%[ \t]+|%css[ \t]+|[ \t]+)[^ \t\r]+$/bCSS;
34 /^(%[ \t]*|%css[ \t]*)$/bCSS;
35 ' <"$pagefile")${BR}${css}"