Fix boolean HTML attributes

Fixes getkirby/kirby#134 by returning the name of the attribute without the integer value when the value is a boolean.