|
|
@ -49,11 +49,11 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
{{ range (.Paginate .Data.Pages.ByTitle 30).Pages }}
|
|
|
|
{{ range (.Paginate .Data.Pages.ByDate.Reverse 30).Pages }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagename := .Param "image" }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/resources/" $imagename) }}
|
|
|
|
{{ $imagelocation := (printf "%s/%s" "images/resources/" $imagename) }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
|
|
<article class="post__article col-md-4">
|
|
|
|
<article class="post__article col-md-6">
|
|
|
|
{{ if $imageresource }}
|
|
|
|
{{ if $imageresource }}
|
|
|
|
<div class="post__thumb">
|
|
|
|
<div class="post__thumb">
|
|
|
|
{{ $image := $imageresource.Resize "50x50 webp" }}
|
|
|
|
{{ $image := $imageresource.Resize "50x50 webp" }}
|
|
|
|