瀏覽代碼

added html for speaker image

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

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

@@ -19,9 +19,9 @@
{{ range .Params.event_speakers }}
<div class="mb-2">
{{with .speaker_image}}
<div class="client-thumb speaker">
<img class="img-fluid lozad" data-src="/images/client/client-1.webp" onerror="this.onerror=null;this.src='\/images\/client\/client-1.jpg'" alt="Lemos Kail" src="/images/client/client-1.webp" data-loaded="true">
</div>
<div class="client-thumb speaker">
<img class="img-fluid lozad" data-src="{{ .speaker_image_webp | absURL }}" onerror="this.onerror=null;this.src='{{ .speaker_image | absURL }}'" alt="{{ .speaker_name }}">
</div>
{{end}}
<div class="bio">{{.speaker_name}}, {{.bio}}</div>
</div>

Loading…
取消
儲存