urbit/pkg/arvo/gen/frontpage.hoon

27 lines
499 B
Plaintext
Raw Normal View History

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