fix REUSE compliance
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
$gap: var(--gap);
|
||||
|
||||
.snap-gallery,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
{{- $imgs := .imgs -}}
|
||||
{{- $galno := .galno -}}
|
||||
<div class="snap-gallery" style="--columns:{{ default 4 .columns }};--min-width:{{ default "200px" .minwidth }};--gap:10px;--cursor:{{ .cursor }};--aspectratio:{{ safeCSS (default "16/10" .aspectratio) }};">
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
{{- $imgs := .imgs -}}
|
||||
{{- $galno := .galno -}}
|
||||
<div class="snap-lightbox" id="snap-lightbox-{{ $galno }}">
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
{{- $imgs := .imgs -}}
|
||||
{{- $galno := .galno -}}
|
||||
<div class="snap-slideshow" id="snap-slideshow-{{ $galno }}" style="--columns:1;--min-width:0px;--gap:0px;--slideshow-width:{{ default "100%" .width }};--cursor:{{ .cursor }};--aspectratio:{{ safeCSS (default "16/10" .aspectratio) }};">
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
-->
|
||||
{{/* Count number of gallery on page */}}
|
||||
{{- $.Page.Scratch.Add "gallerycount" 1 -}}
|
||||
{{- $galno := $.Page.Scratch.Get "gallerycount" -}}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
|
||||
SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
// Variables
|
||||
var lightbox_baseid = "snap-lightbox-";
|
||||
var slideshow_baseid = "snap-slideshow-";
|
||||
|
||||
Reference in New Issue
Block a user