draft scry added

This commit is contained in:
dachus 2023-02-16 14:18:48 -06:00
parent 1dae329400
commit 310f6ce5e7
2 changed files with 5 additions and 2 deletions

View File

@ -61,8 +61,9 @@
^- (unit (unit cage))
?+ path ~
::
[%x %md ^] ``blog+!>(q:(~(got by files) t.t.path))
[%x %html ^] ``blog+!>(p:(~(got by files) t.t.path))
[%x %md ^] ``blog+!>(q:(~(got by files) t.t.path))
[%x %html ^] ``blog+!>(p:(~(got by files) t.t.path))
[%x %draft @ ~] ``blog+!>((~(got by drafts) i.t.t.path))
::
[%x %pages ~]
:^ ~ ~ %json

View File

@ -9,6 +9,8 @@
--
++ grow
|%
:: TODO you actually do want separate html and md marks
:: because md is /text/plain while html is text/html
++ mime [/text/plain (as-octs:mimes:html txt)]
++ json [%s txt]
--