瀏覽代碼

minor update

pull/141/head
abhidj0090 4 年之前
父節點
當前提交
a4c7012313
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      layouts/events/upcoming.html

+ 3
- 3
layouts/events/upcoming.html 查看文件

@@ -1,10 +1,10 @@
<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")) }}
<img class="img-fluid lozad" data-src="{{ .Params.Image_webp | absURL }}"
{{ with .Params.image_webp }}
<img class="img-fluid lozad" data-src="{{ .Params.image_webp | absURL }}"
onerror="this.onerror=null;
this.src='{{ .Params.Image | absURL }}'"
this.src='{{ .Params.image | absURL }}'"
>
{{ end }}
</div>

Loading…
取消
儲存