<div class="card">
  {{ with .Params.image }}<img src="{{ . }}" alt="{{ $.Title }} cover">{{ end }}
  <div class="card-title">{{ .Title }}</div>
  {{ with .Params.rating }}<div class="card-rating">{{ partial "stars.html" (dict "rating" .) }} {{ . }}</div>{{ end }}
  {{ with .Params.likes }}<div class="card-likes">&#128077; {{ . }}</div>{{ end }}
  <div class="card-desc">{{ .Params.description }}</div>
  {{ with .Params.link }}<a class="card-link" href="{{ .url }}">{{ .label }} &#8594;</a>{{ end }}
</div>
