summaryrefslogtreecommitdiff
path: root/themes/LoveIt/layouts/partials/function/resource.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
commit582a8a33aff644a6b07534aaf677973abc6f154c (patch)
tree069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/function/resource.html
parent038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff)
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/function/resource.html')
-rw-r--r--themes/LoveIt/layouts/partials/function/resource.html16
1 files changed, 0 insertions, 16 deletions
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 -}}