diff options
author | uPagge <git@upagge.ru> | 2021-02-26 02:03:03 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-02-26 02:03:03 +0300 |
commit | 1e001ea68c95ceb4251f3b80230c25487381ee6b (patch) | |
tree | 11da1302bd4db9b6d4d5e3c1407b94c2db41ac26 /layouts/partials | |
parent | 08bd371df5224ec717323c32263df8c2db262495 (diff) |
test delete fit service
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/assets.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/layouts/partials/assets.html b/layouts/partials/assets.html index c695f34..7bbca5f 100644 --- a/layouts/partials/assets.html +++ b/layouts/partials/assets.html @@ -41,19 +41,6 @@ {{- $config = dict "twemoji" true | merge $config -}} {{- end -}} -{{- /* lightgallery.js */ -}} -{{- if $params.lightgallery -}} - {{- $source := $cdn.lightgalleryCSS | default "lib/lightgallery/lightgallery.min.css" -}} - {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}} - {{- $source := $cdn.lightgalleryJS | default "lib/lightgallery/lightgallery.min.js" -}} - {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} - {{- $source := $cdn.lightgalleryThumbnailJS | default "lib/lightgallery/lg-thumbnail.min.js" -}} - {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} - {{- $source := $cdn.lightgalleryZoomJS | default "lib/lightgallery/lg-zoom.min.js" -}} - {{- dict "Source" $source "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}} - {{- $config = dict "selector" ".lightgallery" "speed" 400 "hideBarsDelay" 2000 "thumbnail" true "exThumbImage" "data-thumbnail" "thumbWidth" 80 "thumbContHeight" 80 "actualSize" false | dict "lightGallery" | merge $config -}} -{{- end -}} - {{- $code := $params.code | default dict -}} {{- $config = cond (ne $code.maxShownLines nil) $code.maxShownLines 10 | dict "maxShownLines" | dict "code" | merge $config -}} |