2015-02-24 22:33:50 +03:00
|
|
|
::
|
2016-02-10 06:25:32 +03:00
|
|
|
:::: /hoon/head/tree/ren
|
2016-02-05 05:57:44 +03:00
|
|
|
::
|
|
|
|
::
|
2016-02-18 02:25:53 +03:00
|
|
|
/? 310
|
2016-11-11 21:59:00 +03:00
|
|
|
/= tub /$ |=({bem/beam *} (slag (lent /web) (flop s.bem)))
|
2016-02-04 04:46:14 +03:00
|
|
|
/= aut
|
2016-12-03 03:37:53 +03:00
|
|
|
/$ %+ cork fuel:html :: after parsing params,
|
2016-12-01 04:22:43 +03:00
|
|
|
=, title
|
2016-12-07 06:13:33 +03:00
|
|
|
|= gas/epic:eyre ^- ? :: check that the fcgi
|
2017-02-13 22:58:49 +03:00
|
|
|
%+ lien ~(tap in (~(get ju aut.ced.gas) %$)) :: has an identity
|
2016-04-02 03:48:54 +03:00
|
|
|
|=(a/knot !=(%pawn (clan (slav %p a)))) :: which isn't a comet
|
2016-05-05 21:33:02 +03:00
|
|
|
/= dbg
|
|
|
|
/^ {nopack/? nomin/?}
|
2016-12-03 03:37:53 +03:00
|
|
|
/$ %+ cork fuel:html :: after parsing params,
|
2016-12-07 06:13:33 +03:00
|
|
|
|= gas/epic:eyre ^- {? ?} :: check if the query
|
2016-05-05 21:33:02 +03:00
|
|
|
:- (~(has by qix.gas) 'dbg.nopack') :: dictates separate files
|
|
|
|
(~(has by qix.gas) 'dbg.nomin') :: and/or unminified assets
|
add support for tree head js "extras"
Usage: e.g. ren/tree/head/extras/analytics.js containing
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47054188-3', 'auto');
ga('send', 'pageview');
(cherry picked from "modular-analytics" b6747f36d351e12a9a601db813b8255ed8e2cb6c)
2016-10-04 00:58:56 +03:00
|
|
|
/= extras /: /===/ren/tree/head/extras :: additional scripts
|
|
|
|
/^ (map knot cord) /_ /js/
|
2015-02-24 22:33:50 +03:00
|
|
|
::
|
2016-05-05 21:33:02 +03:00
|
|
|
|%
|
|
|
|
++ cdnjs
|
|
|
|
|=(a/tape "//cdnjs.cloudflare.com/ajax/libs/{a}{?:(nomin.dbg "" ".min")}.js")
|
2016-05-13 02:40:45 +03:00
|
|
|
++ maxcdn
|
|
|
|
|=(a/tape "//maxcdn.bootstrapcdn.com/{a}{?:(nomin.dbg "" ".min")}.js")
|
2016-05-05 21:33:02 +03:00
|
|
|
--
|
2016-11-17 04:42:58 +03:00
|
|
|
::
|
2015-02-24 22:33:50 +03:00
|
|
|
::::
|
|
|
|
::
|
2016-02-10 06:25:32 +03:00
|
|
|
^- marl
|
2016-05-28 00:47:34 +03:00
|
|
|
;= ;title: Urbit - A personal server
|
2015-02-24 22:33:50 +03:00
|
|
|
;meta(name "viewport", content "width=device-width, initial-scale=1");
|
2017-11-15 00:06:17 +03:00
|
|
|
;link(type "text/css", rel "stylesheet", href "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.3.0/codemirror.min.css");
|
2016-05-05 21:33:02 +03:00
|
|
|
;* ?. nopack.dbg
|
2016-05-04 00:34:53 +03:00
|
|
|
:_ ~
|
2016-06-07 23:38:11 +03:00
|
|
|
;link(type "text/css", rel "stylesheet", href "/===/web/pack/css/codemirror-fonts-bootstrap-tree.css");
|
2016-05-04 00:34:53 +03:00
|
|
|
;=
|
2016-06-06 19:55:48 +03:00
|
|
|
;link(type "text/css", rel "stylesheet", href "/===/web/lib/css/fonts.css");
|
|
|
|
;link(type "text/css", rel "stylesheet", href "/===/web/lib/css/bootstrap.css");
|
|
|
|
;link(type "text/css", rel "stylesheet", href "/===/web/lib/css/codemirror.css");
|
|
|
|
;link(type "text/css", rel "stylesheet", href "/===/web/tree/main.css");
|
2016-05-04 00:34:53 +03:00
|
|
|
==
|
2016-05-05 21:33:02 +03:00
|
|
|
;script(type "text/javascript", src "{(cdnjs "jquery/2.1.3/jquery")}");
|
2016-05-13 02:40:45 +03:00
|
|
|
;script(type "text/javascript", src "{(maxcdn "bootstrap/3.3.6/js/bootstrap")}");
|
2016-05-05 21:33:02 +03:00
|
|
|
;script(type "text/javascript", src "{(cdnjs "lodash.js/2.4.1/lodash")}");
|
|
|
|
;script(type "text/javascript", src "{(cdnjs "react/0.14.6/react")}");
|
|
|
|
;script(type "text/javascript", src "{(cdnjs "react/0.14.6/react-dom")}");
|
|
|
|
;script(type "text/javascript", src "{(cdnjs "flux/2.1.1/Flux")}");
|
2017-10-19 01:06:03 +03:00
|
|
|
;* (turn ~(tap by extras) |=({@ a/@t} ;script(type "text/javascript"):"{(trip a)}"))
|
2017-11-15 00:06:17 +03:00
|
|
|
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.3.0/codemirror.js");
|
|
|
|
:: ;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/".
|
|
|
|
:: "codemirror/4.3.0/mode/markdown/markdown.min.js");
|
2016-05-19 08:48:27 +03:00
|
|
|
;* ?. nopack.dbg
|
2016-05-04 00:34:53 +03:00
|
|
|
:_ ~
|
2016-06-25 02:50:57 +03:00
|
|
|
;script(type "text/javascript", src "{?.(aut "" "/~~/~/at")}".
|
|
|
|
"/===/web/pack/js/tree-urb.js");
|
|
|
|
:: "/===/web/pack/js/tree-hoon-urb.js");
|
2016-05-04 00:34:53 +03:00
|
|
|
;=
|
2016-06-06 19:55:48 +03:00
|
|
|
:: ;script(type "text/javascript", src "/===/web/lib/js/hoon.js");
|
|
|
|
;script(type "text/javascript", src "/===/web/tree/main.js");
|
2016-06-25 02:50:57 +03:00
|
|
|
;script(type "text/javascript", src "{?.(aut "" "/~~/~/at")}".
|
|
|
|
"/===/web/lib/js/urb.js");
|
2016-05-04 00:34:53 +03:00
|
|
|
==
|
|
|
|
;link(type "application/rss+xml", rel "alternate", href "{(spud tub)}.rss-xml");
|
2016-02-04 04:46:14 +03:00
|
|
|
==
|