citra-web/site/themes/citra-bs-theme/layouts/index.html

27 lines
588 B
HTML
Raw Normal View History

2017-02-26 22:24:53 +01:00
{{ define "top" }}
{{ partial "jumbotron" }}
{{ end }}
{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "entry") 3 }}
2017-02-26 22:24:53 +01:00
{{ range sort $paginator.Pages "Date" "desc" }}
{{ .Render "summary" }}
2017-02-26 22:24:53 +01:00
{{ end }}
{{ partial "pagination" . }}
{{ end }}
{{ define "scripts" }}
<script type="text/javascript">
2017-09-08 08:47:22 +02:00
$('#carousel-inner').slick({
autoplay: true,
autoplaySpeed: 4000,
lazyLoaded: true,
prevArrow: "#slider-prev",
nextArrow: "#slider-next",
lazyLoad: "progressive"
});
2017-02-26 22:24:53 +01:00
</script>
{{ end }}