mirror of
https://github.com/8butubb/8butubb.github.io.git
synced 2026-10-10 23:30:01 +08:00
新增图库
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{{- if eq .Type "gallery" }}
|
||||
{{- $galleryJS := resources.Get "js/gallery.js" | minify }}
|
||||
{{- if not site.Params.assets.disableFingerprinting }}
|
||||
{{- $galleryJS = $galleryJS | fingerprint }}
|
||||
<script defer crossorigin="anonymous" src="{{ $galleryJS.RelPermalink }}" integrity="{{ $galleryJS.Data.Integrity }}"></script>
|
||||
{{- else }}
|
||||
<script defer crossorigin="anonymous" src="{{ $galleryJS.RelPermalink }}"></script>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user