urbit/pkg/arvo/gen/frontpage.hoon
Jared Tobin b3901ab42f Add 'pkg/arvo/' from commit 'c20e2a185f131ff3f5d3961829bd7a3fe0f227f8'
git-subtree-dir: pkg/arvo
git-subtree-mainline: 9c8f40bf6c
git-subtree-split: c20e2a185f
2019-06-28 12:48:05 +08:00

27 lines
499 B
Plaintext

:: frontpage for your Urbit
::
:: outer gate is a standard generator
::
|= [[now=@da eny=@ bek=beak] $~ $~]
::
:: :- %build
|= [authorized=? request:http]
^- simple-payload:http
:- [200 ['content-type' 'text/html']~]
:- ~
%- as-octs:mimes:html
%- crip
%- en-xml:html
^- manx
;html
;head
;title:"Ran generator"
==
;body
;h1:"Ran generator"
:: ;p:"Executing on {<(scot %p our)>}."
;p:"The method was {<(trip method)>}."
;p:"The url was {<(trip url)>}."
==
==