From 0c7cb4486a89ec6fe9680e6569ef41d4b82d557d Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 18 Feb 2021 22:21:36 +0100 Subject: use maintained theme --- themes/LoveIt/layouts/partials/plugin/image.html | 38 ------------------------ 1 file changed, 38 deletions(-) delete mode 100644 themes/LoveIt/layouts/partials/plugin/image.html (limited to 'themes/LoveIt/layouts/partials/plugin/image.html') diff --git a/themes/LoveIt/layouts/partials/plugin/image.html b/themes/LoveIt/layouts/partials/plugin/image.html deleted file mode 100644 index 84a61b3..0000000 --- a/themes/LoveIt/layouts/partials/plugin/image.html +++ /dev/null @@ -1,38 +0,0 @@ -{{- /* lazysizes and lightgallery.js */ -}} -{{- $src := .Src -}} -{{- with dict "Path" .Src "Resources" .Resources | partial "function/resource.html" -}} - {{- $src = .RelPermalink -}} -{{- end -}} - -{{- $small := .SrcSmall | default $src -}} -{{- with dict "Path" .SrcSmall "Resources" .Resources | partial "function/resource.html" -}} - {{- $small = .RelPermalink -}} -{{- end -}} - -{{- $large := .SrcLarge | default $src -}} -{{- with dict "Path" .SrcLarge "Resources" .Resources | partial "function/resource.html" -}} - {{- $large = .RelPermalink -}} -{{- end -}} - -{{- $alt := .Alt | default $src -}} -{{- $loading := resources.Get "svg/loading.svg" | minify -}} -{{- if .Linked -}} - - {{ $alt }} - -{{- else -}} - {{ $alt }} -{{- end -}} -- cgit v1.2.3