Code from my 'Creating Powerful HTML with Views Templates'