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))
|
^- (unit (unit cage))
|
||||||
?+ path ~
|
?+ path ~
|
||||||
::
|
::
|
||||||
[%x %md ^] ``blog+!>(q:(~(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 %html ^] ``blog+!>(p:(~(got by files) t.t.path))
|
||||||
|
[%x %draft @ ~] ``blog+!>((~(got by drafts) i.t.t.path))
|
||||||
::
|
::
|
||||||
[%x %pages ~]
|
[%x %pages ~]
|
||||||
:^ ~ ~ %json
|
:^ ~ ~ %json
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
--
|
--
|
||||||
++ grow
|
++ 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)]
|
++ mime [/text/plain (as-octs:mimes:html txt)]
|
||||||
++ json [%s txt]
|
++ json [%s txt]
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user