123456789101112131415161718192021222324252627 |
- <!-- <article class="blog-post">
- <header>
- {{ partial "post-title" . }}
- {{ partial "post-date" . }}
- {{ partial "post-tags" . }}
- {{ partial "post-categories" . }}
- </header>
- {{ .Content }}
- </article> -->
- <div class="news-main">
- {{ range (.Paginate ( where .Pages "Params.type" "post" )).Pages }}
- <section class="news-info">
- {{ range (.GetTerms "categories") }}
- <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
- {{ end }}
- <small>{{ .Date | time.Format ":date_long" }}</small>
- </section>
- <h2 class="post-title my-3">
- <a href="{{ .Params.url }}">{{ .Params.title }}</a>
- </h2>
- <a href="{{ .Permalink }}">
- <img class="img-fluid" src="{{ .Params.image | relURL }}" alt="" />
- </a>
- {{ end }}
- {{ template "_internal/pagination.html" . }}
- </div>
|