This commit is contained in:
Julieñ
2024-05-21 09:28:29 +02:00
parent 3062e2f85a
commit 16583abcb4
1716 changed files with 1435 additions and 1 deletions

36
layouts/index.html Normal file
View File

@@ -0,0 +1,36 @@
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width,
initial-scale=1.0" />
<title>{{ .Title }}</title>
<link rel="icon" href="favicon.svg" />
{{ partial "gallerydeluxe/head.html" . }}
{{ partial "head.html" . }}
</head>
<a class="logo" href="{{ site.Home.RelPermalink }}">
{{ partial "logo.html" . }}
</a>
{{/* init.hmlt takes either a slice of .images or a .sourcePath that points to a bundle with images.
An .id will be calculated if not provided. This will be used to create the URL to the data file.
*/}}
{{ $bundle := site.GetPage "images" }}
{{ $images := $bundle.Resources.ByType "image" }}
{{ $gallery := partial "gallerydeluxe/init.html" (dict "sourcePath" "images") }}
{{ $params := site.Params.gallerydeluxe }}
{{/* We currently only support 1 gallery per page, which is create4 by an element with id 'gallerydeluxe',
and a valid data url.
*/}}
<body id="gallerydeluxe" data-gd-image-data-url="{{ $gallery.imageDataUrl }}">
<div id="gd-modal" class="gd-modal">
<span id="gd-modal-close" class="gd-modal-close">&times;</span>
{{ if $params.enable_exif }}
<div id="gd-modal-exif" class="gd-modal-exif"></div>
{{ end }}
</div>
</body>
</html>

View File

@@ -0,0 +1,10 @@
{{ $css := resources.Get "css/styles.css" }}
{{ if hugo.IsProduction}}
{{ $css = $css | minify | fingerprint }}
{{ end }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}"></link>
{{ with site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.io/js/plausible.js"></script>
{{ end }}

View File

@@ -0,0 +1,40 @@
<svg
width="48mm"
height="48mm"
viewBox="0 0 48 48"
version="1.1"
id="svg1"
xml:space="preserve"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
sodipodi:docname="nsns.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#cccccc"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="1"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="0.69308361"
inkscape:cx="307.32223"
inkscape:cy="190.45321"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="36"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs1" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-23.850639,-97.94986)"><path
style="fill:#ffffff;stroke-width:0.3"
d="m 23.850639,106.94986 h 18.631579 v 30 h -8.684211 v -19.6478 h -1.105263 v 19.6478 h -8.842105 z m 19.578947,0 h 8.842105 v 20.66667 h 0.94737 v -20.66667 h 18.631578 v 30 h -8.684211 v -19.6478 h -1.105263 v 19.6478 H 43.429586 Z"
id="path1"
sodipodi:nodetypes="cccccccccccccccccccccc" /></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB