urbit/pkg/arvo/gen/frontpage.hoon
risruc-habteb 67221aad29
Update frontpage.hoon
Swapped "p.bek" for "our" and uncommented line 22.
2020-02-04 21:40:14 -05:00

27 lines
497 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 p.bek)>}."
;p:"The method was {<(trip method)>}."
;p:"The url was {<(trip url)>}."
==
==