<tal:comment replace="nothing"> define a model variable that works in public and smi preview skins </tal:comment>
<tal:block tal:define="model request/model|here">
<tal:block tal:condition="python:model.meta_type == 'Silva Find'">
  <tal:comment replace="nothing"> 
    load custom styles for search form and search results
    if we're viewing a Silva Find instance 
  </tal:comment>
  <link rel="stylesheet" type="text/css" media="all"
    tal:define="metatypecss here/service_resources/SilvaFind/search.css/absolute_url | nothing"
    tal:condition="metatypecss"
    tal:attributes="href metatypecss" />
  <tal:comment replace="nothing">
    Make sure search results are never cached.
  </tal:comment>    
  <tal:block replace="structure model/@@set_nocache" />
</tal:block></tal:block>
