diff options
author | June McEnroe <june@causal.agency> | 2020-07-17 13:23:21 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-17 13:23:21 -0400 |
commit | 0a054aeb9ce8430a62be05283300ec34e9c2b0af (patch) | |
tree | 344ec24121d800a28df101defd9d01140dda4db1 /css.sh | |
parent | Add margin to inputs (diff) | |
download | scooper-0a054aeb9ce8430a62be05283300ec34e9c2b0af.tar.gz scooper-0a054aeb9ce8430a62be05283300ec34e9c2b0af.zip |
Add export option
Adding the export query parameter to any page downloads a .html with the default stylesheet embedded, and all navigation, forms and internal links removed, for being able to share some part of a private instance of litterbox.
Diffstat (limited to '')
-rw-r--r-- | css.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/css.sh b/css.sh index 80f28d1..be3e44b 100644 --- a/css.sh +++ b/css.sh @@ -3,7 +3,7 @@ set -eu cat <<EOF #define CSS(...) #__VA_ARGS__ -static const char CSS[] = CSS( +const char *CSS = CSS( EOF cat "$@" echo ');' |