latest.html 919 B

12345678910111213141516171819202122232425262728
  1. <section class="bg--secondary">
  2. <div class="container">
  3. <div class="row text-block">
  4. <div class="col-md-12">
  5. <h3>More recent stories</h3>
  6. </div>
  7. </div>
  8. <!--end of row-->
  9. <div class="row">
  10. {{ range first 3 (where .Site.Pages "Type" "post") }}
  11. <div class="col-md-4">
  12. <article class="feature feature-1">
  13. <div class="feature__body boxed boxed--border">
  14. <span>{{ .Date.Format "02 January 2006" }}</span>
  15. <h5>{{ .Title }}</h5>
  16. <a href="{{ .Permalink }}">
  17. Read More
  18. </a>
  19. </div>
  20. </article>
  21. </div>
  22. {{ end }}
  23. </div>
  24. <!--end of row-->
  25. </div>
  26. <!--end of container-->
  27. </section>