2020-07-15 22:26:55 +03:00
|
|
|
/- glob
|
2020-05-28 01:40:32 +03:00
|
|
|
|%
|
|
|
|
+$ action
|
2021-01-02 15:44:13 +03:00
|
|
|
$% :: %serve-dir: from clay directory
|
|
|
|
::
|
|
|
|
:: url-base site path to route from
|
|
|
|
:: clay-base clay path to route to
|
|
|
|
:: public if false, require login
|
|
|
|
:: spa if true, `404` becomes `clay-base/index.html`
|
|
|
|
::
|
|
|
|
[%serve-dir url-base=path clay-base=path public=? spa=?]
|
|
|
|
:: %serve-glob: from glob blobs
|
|
|
|
::
|
|
|
|
:: url-base site path to route from
|
|
|
|
:: glob blobs
|
|
|
|
:: public if false, require login
|
|
|
|
::
|
2020-07-15 22:26:55 +03:00
|
|
|
[%serve-glob url-base=path =glob:glob public=?]
|
2021-01-02 15:44:13 +03:00
|
|
|
:: %unserve-dir: remove binding on url-base
|
|
|
|
::
|
2020-05-28 01:40:32 +03:00
|
|
|
[%unserve-dir url-base=path]
|
2021-01-02 15:44:13 +03:00
|
|
|
:: %toggle-permission: toggle public flag on url-base
|
|
|
|
::
|
2020-05-28 01:40:32 +03:00
|
|
|
[%toggle-permission url-base=path]
|
2021-01-02 15:44:13 +03:00
|
|
|
:: %set-landscape-homepage-prefix: serve landscape at / or /term
|
|
|
|
::
|
2020-05-28 01:40:32 +03:00
|
|
|
[%set-landscape-homepage-prefix prefix=(unit term)]
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ configuration
|
|
|
|
$: landscape-homepage-prefix=(unit term)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ update
|
|
|
|
$% [%configuration =configuration]
|
|
|
|
==
|
|
|
|
--
|