This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-02-26 21:24:53 +00:00
|
|
|
{{ define "top" }}
|
|
|
|
{{ partial "jumbotron" }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
2023-02-03 07:13:01 +00:00
|
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "entry") 3 }}
|
2017-02-26 21:24:53 +00:00
|
|
|
|
2023-02-03 07:13:01 +00:00
|
|
|
{{ range sort $paginator.Pages "Date" "desc" }}
|
|
|
|
{{ .Render "summary" }}
|
2017-02-26 21:24:53 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ partial "pagination" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "scripts" }}
|
|
|
|
<script type="text/javascript">
|
2017-09-08 06:47:22 +00:00
|
|
|
$('#carousel-inner').slick({
|
|
|
|
autoplay: true,
|
|
|
|
autoplaySpeed: 4000,
|
|
|
|
lazyLoaded: true,
|
|
|
|
prevArrow: "#slider-prev",
|
|
|
|
nextArrow: "#slider-next",
|
|
|
|
lazyLoad: "progressive"
|
|
|
|
});
|
2017-02-26 21:24:53 +00:00
|
|
|
</script>
|
|
|
|
{{ end }}
|