8e9b406e71
* Use Hugo to process SCSS and images * Use co-location page bundles * Use Hugo/ESBuild to minify JS files * Update NPM dependencies
27 lines
588 B
HTML
Executable File
27 lines
588 B
HTML
Executable File
{{ define "top" }}
|
|
{{ partial "jumbotron" }}
|
|
{{ end }}
|
|
|
|
{{ define "main" }}
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "entry") 3 }}
|
|
|
|
{{ range sort $paginator.Pages "Date" "desc" }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
|
|
{{ partial "pagination" . }}
|
|
{{ end }}
|
|
|
|
{{ define "scripts" }}
|
|
<script type="text/javascript">
|
|
$('#carousel-inner').slick({
|
|
autoplay: true,
|
|
autoplaySpeed: 4000,
|
|
lazyLoaded: true,
|
|
prevArrow: "#slider-prev",
|
|
nextArrow: "#slider-next",
|
|
lazyLoad: "progressive"
|
|
});
|
|
</script>
|
|
{{ end }}
|