{{ define "content" }}

<div class="content">
{{ range . }}
<div class="card p-2 m-4" style="">
  <div class="card-body">
      <h5 class="card-title">{{ .Title }}</h5>
      <h6 class="card-subtitle mb-2 text-body-secondary">
        <span class="badge text-bg-secondary">{{ .ShortSource }}</span>
        <span class="badge text-bg-secondary">{{ .PublishDate }}</span>
      </h6>
      <p class="card-text">{{ .Summary }}</p>
    <a href="{{ .SourceUrl }}" class="card-link">Link</a>
  </div>
</div>
{{ end }}
</div>

{{ end }}
