diff options
| author | Paul Buetow <paul@buetow.org> | 2022-11-21 18:17:36 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-11-21 18:17:36 +0000 |
| commit | 9a92749dd2a645a06fc342e572a20d35d10762fa (patch) | |
| tree | be958f8f2f06cf66e8b29cfa7276ee9f6f3abe0e | |
| parent | 4c4f379ea616eeec320ec27776c739fadf70d2da (diff) | |
default content filter is .
| -rw-r--r-- | extras/html/style.css | 8 | ||||
| -rwxr-xr-x | gemtexter | 3 | ||||
| -rw-r--r-- | lib/gemfeed.source.sh | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/extras/html/style.css b/extras/html/style.css index eab41b7..4436917 100644 --- a/extras/html/style.css +++ b/extras/html/style.css @@ -132,12 +132,12 @@ pre { padding: 0; overflow-x: auto; scrollbar-width: none; - padding-left: 12px; + padding-left: 23px; } span.inlinecode { - color: #000000; + color: #ffffff; + background-color: #000000; font-family: monospace; - filter: invert(1) grayscale(1); - -webkit-filter: invert(1) grayscale(1); + border: 2px solid #39aa00; } @@ -5,6 +5,9 @@ declare -r ARG="$1"; shift declare CONTENT_FILTER="$1"; shift +if [ -z "$CONTENT_FILTER" ]; then + CONTENT_FILTER=. +fi declare -r VERSION=1.2.0 declare -r VERSION_DESCR=develop diff --git a/lib/gemfeed.source.sh b/lib/gemfeed.source.sh index 6cb9a5a..d45e22c 100644 --- a/lib/gemfeed.source.sh +++ b/lib/gemfeed.source.sh @@ -3,7 +3,7 @@ gemfeed::get_posts () { local -r gemfeed_dir="$CONTENT_BASE_DIR/gemtext/gemfeed" local -r gmi_pattern='^[0-9]{4}-[0-9]{2}-[0-9]{2}-.*\.gmi$' - ls "$gemfeed_dir" | $GREP -f -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r + ls "$gemfeed_dir" | $GREP -F -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r } # Add the links from gemfeed/index.gmi to the main index site. |
