[AMG]: This page contains example pages and applications for the [Wibble] web server. There may be some overlap with the [Wibble zone handlers] page. If all you have is a zone handler, put it in the zone handlers page. If you are explaining it in the context of a complete application, put it here. If you're showing off a useful modification of Wibble, maybe put that here too. And if you have a sample page or template, that's also welcome here. <> ---- **Hello world** [AMG]: Put this in a file called `index.html.tmpl` and see what happens. ======none % dict set response header content-type text/html Hello from Wibble! - $uri % set rand [expr {rand()}] % if {$rand > 0.5} { random=[format %.3f $rand] > 0.5
% } else { random=[format %.3f $rand] <= 0.5
% } time/date=[clock format [clock seconds]]
milliseconds=[clock milliseconds]
clicks=[clock clicks]
% if {[info exists query] && ![dict exists $query noiframe]} {