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