<div class="new-post">
    <div class="new-post-content">
        {{ range first 5 (where .Site.Pages "Params.type" "headlines") }}
        <div class="new-post-content border-top mb-3">
            <div class="row pt-3">
                <div class="col-lg-4">
                    <a href="{{ .Permalink }}">
                        <img class="img-fluid" src="{{ .Params.image | relURL }}" alt="" />
                    </a>
                </div>
                <div class="col-lg-8">
                    <h2 class="post-title mb-3">
                        <a href="{{ .Params.url }}">{{ .Params.title }}</a>
                    </h2>
                    <p class="post-depiction mb-0">
                        <a href="{{ .Params.url }}" style="color:#000;">{{ .Summary }}</a>
                    </p>
                    <section class="news-post mt-3">
                        {{ range (.GetTerms "categories") }}
                        <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
                        {{ end }}
                        <small>{{ .Date | time.Format ":date_long" }}</small>
                    </section>
                </div>
            </div>

        </div>
        {{end}}

    </div>
</div>