Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-02-24 15:45:13 +0300
committerDillon <dillonzq@outlook.com>2020-02-24 15:45:13 +0300
commit0dc5feb7f39043a8ba00bcad683f3907cad0bf96 (patch)
tree9cf4042dc217b7d242533de250c6361fe25330e0 /layouts
parent7e56922f82a165759ba0ed852cdb4479f30bd233 (diff)
chore(lib): remove ls.native-loading
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/plugin/image.html2
-rw-r--r--layouts/partials/script.html5
2 files changed, 0 insertions, 7 deletions
diff --git a/layouts/partials/plugin/image.html b/layouts/partials/plugin/image.html
index b1749a6..5d0a66d 100644
--- a/layouts/partials/plugin/image.html
+++ b/layouts/partials/plugin/image.html
@@ -14,7 +14,6 @@
<a class="lightgallery" href="{{ $large | safeURL }}" title="{{ $description }}" data-thumbnail="{{ $small | safeURL }}"{{ if $title }} data-sub-html="<h2>{{ $title }}</h2><p>{{ $description }}</p>"{{ end }}>
<img
class="lazyload"
- loading="lazy"
src="{{ $loading.RelPermalink | safeURL }}"
data-sizes="auto"
data-srcset="{{ $small | safeURL }}, {{ $src | safeURL }} 1.5x, {{ $large | safeURL }} 2x"
@@ -25,7 +24,6 @@
{{- else -}}
<img
class="lazyload"
- loading="lazy"
src="{{ $loading.RelPermalink | safeURL }}"
data-sizes="auto"
data-srcset="{{ $small | safeURL }}, {{ $src | safeURL }} 1.5x, {{ $large | safeURL }} 2x"
diff --git a/layouts/partials/script.html b/layouts/partials/script.html
index 9e61182..fe85de3 100644
--- a/layouts/partials/script.html
+++ b/layouts/partials/script.html
@@ -34,11 +34,6 @@
{{- else -}}
{{- slice "lib/lazysizes/lazysizes.min.js" | $scratch.Add "scriptLocal" -}}
{{- end -}}
- {{- with $CDN.lazysizesNativeLoadingJS -}}
- {{- slice . | $scratch.Add "scriptCDN" -}}
- {{- else -}}
- {{- slice "lib/lazysizes/ls.native-loading.min.js" | $scratch.Add "scriptLocal" -}}
- {{- end -}}
{{- end -}}
{{- /* lightgallery.js */ -}}