@@ -11,7 +11,7 @@ | |||
<!-- <li class="list-inline-item"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li> --> | |||
<li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Params.event_start_date }}</li> | |||
</ul> | |||
{{ if (isset .Params.Image) }} | |||
{{ if (isset .Params "image") }} | |||
<img class="img-fluid mb-50 lozad" data-src="{{ .Params.Image | absURL }}" alt="blog-image"> | |||
{{end}} | |||
</div> |
@@ -1,7 +1,7 @@ | |||
<article class="col-lg-4 col-md-6 col-12 clearfix wow fadeInUp mb-4" data-wow-duration="500ms"> | |||
<div class="post-block"> | |||
<div class="media-wrapper"> | |||
{{ if (and (isset .Params.Image_webp) (isset .Params.Image)) }} | |||
{{ if (and (isset .Params "image_webp") (isset .Params "image")) }} | |||
<img class="img-fluid lozad" data-src="{{ .Params.Image_webp | absURL }}" | |||
onerror="this.onerror=null; | |||
this.src='{{ .Params.Image | absURL }}'" |