diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
commit | 582a8a33aff644a6b07534aaf677973abc6f154c (patch) | |
tree | 069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/plugin/compatibility.html | |
parent | 038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff) |
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/plugin/compatibility.html')
-rw-r--r-- | themes/LoveIt/layouts/partials/plugin/compatibility.html | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/themes/LoveIt/layouts/partials/plugin/compatibility.html b/themes/LoveIt/layouts/partials/plugin/compatibility.html deleted file mode 100644 index b460f18..0000000 --- a/themes/LoveIt/layouts/partials/plugin/compatibility.html +++ /dev/null @@ -1,22 +0,0 @@ -{{- $compatibility := .Site.Params.compatibility | default dict -}} -{{- $cdn := .Scratch.Get "cdn" | default dict -}} -{{- $fingerprint := .Scratch.Get "fingerprint" -}} - -{{- /* Polyfill.io */ -}} -{{- if $compatibility.polyfill -}} - {{- $features := slice -}} - {{- range resources.Get "data/polyfill.yml" | transform.Unmarshal -}} - {{- range . -}} - {{- $features = $features | append . -}} - {{- end -}} - {{- end -}} - {{- with $features | uniq -}} - {{- delimit . "%2C" | printf "https://polyfill.io/v3/polyfill.min.js?features=%v" | dict "Source" | dict "Scratch" $.Scratch "Data" | partial "scratch/script.html" -}} - {{- end -}} -{{- end -}} - -{{- /* object-fit-images */ -}} -{{- if $compatibility.objectFit -}} - {{- $source := $cdn.objectFitImagesJS | default "lib/object-fit-images/ofi.min.js" -}} - {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} -{{- end -}} |