Browse Source

minor update

pull/141/head
abhidj0090 4 years ago
parent
commit
e718d07df2
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      layouts/events/upcoming.html

+ 7
- 3
layouts/events/upcoming.html View File

@@ -1,8 +1,12 @@
<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">
<img class="img-fluid lozad" data-src="{{ .Params.Image_webp | absURL }}" onerror="this.onerror=null;this.src='{{ .Params.Image | absURL }}'">
</div>
{{ $imagewbp := .Params.Image_webp }}
{{ $image := .Params.Image }}
{{with .Params.Image_webp}}
<div class="media-wrapper">
<img class="img-fluid lozad" data-src="{{ $imagewbp | absURL }}" onerror="this.onerror=null;this.src='{{ $image | absURL }}'">
</div>
{{end}}
<div class="content">
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p>{{ .Summary }}</p>

Loading…
Cancel
Save