diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-10 17:23:34 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-10 17:23:34 +0200 |
commit | e028543baa552aa091fe3485b03da48d25ab8179 (patch) | |
tree | 89d481c7509d3634bce76e9319cb192c2b25a328 /module/html/config.scm | |
parent | HTML work. (diff) | |
download | calp-e028543baa552aa091fe3485b03da48d25ab8179.tar.gz calp-e028543baa552aa091fe3485b03da48d25ab8179.tar.xz |
Really start breaking apart HTML.
Diffstat (limited to '')
-rw-r--r-- | module/html/config.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/module/html/config.scm b/module/html/config.scm new file mode 100644 index 00000000..3ae0e1da --- /dev/null +++ b/module/html/config.scm @@ -0,0 +1,18 @@ +(define-module (html config) + :use-module (util) + :use-module (util config) + ) + +(define-public debug (make-parameter #f)) +(define-config debug #f + "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 + "Makes the document editable" + post: edit-mode) + |