urbit/ren/urb.hoon

27 lines
752 B
Plaintext
Raw Normal View History

2016-02-05 05:57:44 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/urb/ren
2016-02-05 05:57:44 +03:00
::
2016-02-18 02:25:53 +03:00
/? 310
2016-02-10 06:25:32 +03:00
/+ urb-split :: for single-page apps
2016-02-12 01:35:58 +03:00
/% /^ {hed/{@uvH marl} bod/{@uvH marl}}
2016-03-03 22:28:02 +03:00
/, /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/
::
2016-02-10 06:25:32 +03:00
/
/urb-tree/
==
2016-02-10 04:24:30 +03:00
-.-