diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-23 23:22:10 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-23 23:22:10 +0200 |
commit | edaf758b80fed1f5f14cd4b192e661c8863e84bc (patch) | |
tree | 9baf17c11a6254e81f29a1c473e5eb86c072aa79 /module/calp/html/config.scm | |
parent | Add rendering of standalone small-cal. (diff) | |
download | calp-edaf758b80fed1f5f14cd4b192e661c8863e84bc.tar.gz calp-edaf758b80fed1f5f14cd4b192e661c8863e84bc.tar.xz |
Move html modules under calp.
Diffstat (limited to 'module/calp/html/config.scm')
-rw-r--r-- | module/calp/html/config.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/module/calp/html/config.scm b/module/calp/html/config.scm new file mode 100644 index 00000000..6f156c98 --- /dev/null +++ b/module/calp/html/config.scm @@ -0,0 +1,18 @@ +(define-module (calp html config) + :use-module (util) + :use-module (util config) + ) + +(define-public debug (make-parameter #f)) +(define-config debug #f + description: "Places the generated thingy in debug mode" + post: debug) + + +;;; NOTE edit mode should preferably depend on login-status of the user +;;; but this works for the time being. +(define-public edit-mode (make-parameter #t)) +(define-config edit-mode #t + description: "Makes the document editable" + post: edit-mode) + |