about summary refs log tree commit diff
path: root/css.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-17 13:23:21 -0400
committerJune McEnroe <june@causal.agency>2020-07-17 13:23:21 -0400
commit0a054aeb9ce8430a62be05283300ec34e9c2b0af (patch)
tree344ec24121d800a28df101defd9d01140dda4db1 /css.sh
parentAdd margin to inputs (diff)
downloadscooper-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 'css.sh')
-rw-r--r--css.sh2
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 ');'