mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
1 parent
149abc4ef9
commit
eb41128a39
1 file changed
+7
-2
@@ -12,7 +12,7 @@
|
|||||||
<li class="showcase-site">
|
<li class="showcase-site">
|
||||||
<div class="image-wrapper">
|
<div class="image-wrapper">
|
||||||
<a href="{{.Params.sitelink}}" target="_blank">
|
<a href="{{.Params.sitelink}}" target="_blank">
|
||||||
<img src="/images/showcase/{{$img}}" alt="Screenshot thumbnail for the website {{.Title}}, {{.Description}}">
|
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/images/showcase/{{$img}}" alt="Screenshot thumbnail for the website {{.Title}}, {{.Description}}" class="b-lazy">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="showcase-meta">
|
<div class="showcase-meta">
|
||||||
@@ -39,4 +39,9 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{ define "addscripts" }}
|
||||||
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/blazy/1.8.2/blazy.min.js"></script>
|
||||||
|
<script>var bLazy = new Blazy();</script>
|
||||||
|
{{ end }}
|
||||||
Reference in new issue
Block a user