{% if result.activity.type != "video" and result.activity.type != "richtext" and result.activity.type != "quiz" %} 
<div class="np-card np-search-result col-xs-12 col-sm-6 col-lg-3">
  <div class="np-card-container">
    <div class="np-card-content">
      <img
        class="np-search-result-image"
        alt="{{ result.name }}"
        src="{{ result.image_url }}"
      />
      <div class="np-search-result-content">
        <div class="np-search-result-title">
            {{ result.name }}
            
        </div>
        <a href="{{ result.path }}" class="np-button np-button-wide" style="margin-top: 16px;">View</a>
      </div>
    </div>
  </div>
</div>
{% endif %}