{{define "video_item"}}
<article class="result video-result">
  {{if .Thumbnail}}
  <div class="result_thumbnail">
    <a href="{{.URL}}" target="_blank" rel="noopener noreferrer">
      <img src="{{.Thumbnail}}" alt="{{.Title}}" loading="lazy">
    </a>
  </div>
  {{end}}
  <div class="result_content_wrapper">
    <div class="result_header">
      <a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.Title}}</a>
    </div>
    <div class="result_url">
      <span class="engine-badge">youtube</span>
    </div>
    {{if .Content}}
    <p class="result_content">{{.Content}}</p>
    {{end}}
  </div>
</article>
{{end}}
