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