From 582a8a33aff644a6b07534aaf677973abc6f154c Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 21 Oct 2022 21:01:11 +0200 Subject: use different theme that is a lot slimer --- themes/LoveIt/layouts/partials/function/resource.html | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 themes/LoveIt/layouts/partials/function/resource.html (limited to 'themes/LoveIt/layouts/partials/function/resource.html') diff --git a/themes/LoveIt/layouts/partials/function/resource.html b/themes/LoveIt/layouts/partials/function/resource.html deleted file mode 100644 index 2febef3..0000000 --- a/themes/LoveIt/layouts/partials/function/resource.html +++ /dev/null @@ -1,16 +0,0 @@ -{{- $resource := 0 -}} -{{- $url := urls.Parse .Path -}} -{{- if not $url.Host | and $url.Path | and (strings.HasSuffix $url.Path "/" | not) -}} - {{- if .Resources -}} - {{- with .Resources.GetMatch $url.Path -}} - {{- $resource = . -}} - {{- end -}} - {{- end -}} - {{- if not $resource -}} - {{- with resources.Get $url.Path -}} - {{- $resource = . -}} - {{- end -}} - {{- end -}} -{{- end -}} - -{{- return $resource -}} -- cgit v1.2.3