mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
story: rename door sample to tale
This commit is contained in:
parent
b37fd09fab
commit
e5642b5ff3
@ -1,5 +1,5 @@
|
||||
|_ story=(map tako:clay [title=@t body=@t])
|
||||
++ grad %mime
|
||||
|_ tale=(map tako:clay [title=@t body=@t])
|
||||
::
|
||||
++ grow :: convert to
|
||||
|% ::
|
||||
@ -7,9 +7,8 @@
|
||||
[/text/x-urb-story (as-octs:mimes:html (of-wain:format txt))]
|
||||
++ txt
|
||||
^- wain
|
||||
:: TODO better code style?
|
||||
%+ snoc :: ensure terminating newline is present
|
||||
%+ turn ~(tap by story)
|
||||
%+ turn ~(tap by tale)
|
||||
|= [chapter=[tak=tako:clay message=[title=@t body=@t]]]
|
||||
=/ tak=tako:clay tak.chapter
|
||||
=/ [title=@t body=@t] +.chapter
|
||||
|
Loading…
Reference in New Issue
Block a user