mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-02 12:05:28 +03:00
move /~date.comments-md to /comments/~date.md
when outputing tree comments
This commit is contained in:
parent
db968aab50
commit
5677254816
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user