Przeglądaj źródła

lets c

pull/141/head
abhidj0090 4 lat temu
rodzic
commit
fa0d882248
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1
    1
      layouts/events/single.html
  2. 1
    1
      layouts/events/upcoming.html

+ 1
- 1
layouts/events/single.html Wyświetl plik

@@ -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
- 1
layouts/events/upcoming.html Wyświetl plik

@@ -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 }}'"

Ładowanie…
Anuluj
Zapisz