support for type-specific search result layouts, refs dioscouri/amritasingh-f3#42