Files
caldwell/layouts/partials/head/photoswipe.html
Nikolaos Karaolidis 61650e9c0f Add photoswipe
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-08-08 17:55:55 +02:00

18 lines
455 B
HTML

{{ with resources.Get "css/photoswipe/photoswipe.css" | minify | fingerprint }}
<link
rel="stylesheet"
href="{{- .RelPermalink -}}"
integrity="{{- .Data.Integrity -}}"
/>
{{ end }}
{{ $opts := dict "minify" true }}
{{ with resources.Get "js/photoswipe.js" | js.Build $opts | minify | fingerprint }}
<script
src="{{ .RelPermalink }}"
integrity="{{ .Data.Integrity }}"
crossorigin="anonymous"
async
></script>
{{ end }}