mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 19:22:22 +03:00
27 lines
752 B
Plaintext
27 lines
752 B
Plaintext
::
|
|
:::: /hoon/urb/ren
|
|
::
|
|
/? 310
|
|
/+ urb-split :: for single-page apps
|
|
/% /^ {hed/{@uvH marl} bod/{@uvH marl}}
|
|
/, /web/pages
|
|
/; urb-split /# /!hymn/
|
|
/web/static
|
|
::
|
|
:: TODO: remove once we no longer need static site generator
|
|
::
|
|
/; |= urb=manx
|
|
^- [hed=[@uvH marl] bod=[@uvH marl]]
|
|
?: ?=({{$html $~} {{$head $~} *} {{$body $~} *} $~} urb)
|
|
=+ `{{$html $~} {{$head $~} hed/marl} {{$body $~} bod/marl} $~}`urb
|
|
:- [0v0 hed]
|
|
[0v0 bod]
|
|
:- [0v0 ~]
|
|
[0v0 [urb ~]]
|
|
/&hymn&/html/
|
|
::
|
|
/
|
|
/urb-tree/
|
|
==
|
|
-.-
|