mirror of
https://github.com/tadad/blog.git
synced 2024-09-11 12:55:07 +03:00
draft scry added
This commit is contained in:
parent
1dae329400
commit
310f6ce5e7
@ -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
|
||||
|
@ -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]
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user