move /~date.comments-md to /comments/~date.md

when outputing tree comments
This commit is contained in:
Anton Dyudin 2016-02-08 15:23:36 -08:00
parent db968aab50
commit 5677254816
2 changed files with 5 additions and 3 deletions

View File

@ -50,9 +50,9 @@
::
++ poke-comment
|= [pax=path txt=@t] ^+ abet
=. pax [%web (welp pax /(scot %da now))]
=. pax [%web (welp pax /comments/(scot %da now))]
=. txt (rap 3 (scot %p src) ': ' txt ~)
(poke--data [`%comment-md pax] %mime / (taco txt))
(poke--data [`%md pax] %mime / (taco txt))
::
++ poke--data
|= [[ext=(unit ,@t) pax=path] dat=data] ^+ abet

View File

@ -9,7 +9,9 @@
/= snip /&snip&elem&/tree-elem/
/= meta /&json&front&/|(/front/ /~[~])
/= comt /^ (list (pair time manx))
/@ /&elem&md&mime&/comment-md/
/| /: /%/comments /@ /&elem&md&mime&/comment-md/
/~ ~
==
!:
^- tree-include
=+ rj=react-to-json:react