Initial
@@ -1,5 +1,6 @@
|
||||
MIT License
|
||||
|
||||
<<<<<<< HEAD
|
||||
Copyright (c) 2024 julien
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
@@ -7,3 +8,24 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
=======
|
||||
Copyright (c) 2022 Bjørn Erik Pedersen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
>>>>>>> cba70c9 (Initial)
|
||||
|
||||
@@ -1,3 +1,24 @@
|
||||
<<<<<<< HEAD
|
||||
# nds
|
||||
|
||||
Nulla Dies Sine...
|
||||
Nulla Dies Sine...
|
||||
=======
|
||||
[](https://app.netlify.com/sites/gallerydeluxe/deploys)
|
||||
|
||||
This is a starter project for the [Gallery Deluxe](https://github.com/bep/gallerydeluxe) Hugo Module. You need [Hugo](https://gohugo.io/getting-started/installing/) and [Go](https://go.dev/dl/) to run this project.
|
||||
|
||||
1. Click on use "Use this template" and give your new GitHub project a suitable name.
|
||||
1. Edit `go.mod` and replace the path with your new GitHub project's path[^1].
|
||||
1. Edit `config.toml` etc. to match your setup and replace the images inside `content/images` with your own.
|
||||
1. Add your custom logo in [layouts/partials/logo.html](layouts/partials/logo.html)
|
||||
|
||||
This starter projects can be previewd at [gallerydeluxe.netlify.app](https://gallerydeluxe.netlify.app/). A bigger gallery can be found at [staticbattery.com](https://staticbattery.com/).
|
||||
|
||||
**Note:** This isn't a _theme_; it's meant to be used as a standalone Hugo project. You can edit/add/move files in this project as you please.
|
||||
|
||||
## Update theme
|
||||
|
||||
Run `hugo mod get -u` to update to a newer version of Gallery Deluxe if one exists.
|
||||
|
||||
[^1]: I wish GitHub's template project feature had support for variable replacements.
|
||||
>>>>>>> cba70c9 (Initial)
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
||||
@@ -0,0 +1,28 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #101010;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
|
||||
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: fixed;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
z-index: 2;
|
||||
color: #fff;
|
||||
text-shadow: 2px 2px;
|
||||
}
|
||||
|
||||
.gd-modal-loaded .logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo:hover {
|
||||
cursor: pointer;
|
||||
color: #ffe0c9;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="50mm"
|
||||
height="50mm"
|
||||
viewBox="0 0 50 50"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||
sodipodi:docname="favicon.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="131.29729"
|
||||
inkscape:cy="282.79416"
|
||||
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(-70.157087,-73.674611)"><path
|
||||
style="fill:#000000;stroke-width:0.505324"
|
||||
d="m 99.987397,113.37644 c -3.768652,2.52525 -8.177012,3.44037 -12.794807,2.65602 -3.386539,-0.5752 -6.313189,-2.04366 -8.998988,-4.51528 -0.869531,-0.80018 -1.107475,-1.07584 -2.103471,-2.43691 -0.998372,-1.36432 -1.19428,-1.68272 -1.686938,-2.74174 -1.298234,-2.79067 -1.850947,-5.47249 -1.729807,-8.393211 0.03769,-0.908817 0.334834,-2.851329 0.570212,-3.727699 0.77524,-2.886395 2.090746,-5.303586 4.068917,-7.476487 0.570398,-0.62655 0.985808,-1.007395 1.9124,-1.75328 1.744577,-1.404349 3.168405,-2.226007 5.04259,-2.909965 2.173579,-0.793212 4.359423,-1.118883 6.812067,-1.01494 0.907965,0.03849 2.847955,0.341674 3.73541,0.583787 3.256068,0.888316 6.071948,2.603957 8.440338,5.142453 0.61829,0.66269 1.82832,2.315003 2.27539,3.106361 0.36562,0.647853 0.7512,1.433485 1.00437,2.046374 0.92835,2.247487 1.41597,5.068594 1.3181,7.626013 -0.0217,0.567004 -0.0158,0.622314 0.0618,0.575814 0.0474,-0.028 0.51727,-0.342006 1.04471,-0.697105 1.76387,-1.187729 2.73289,-1.685389 4.10627,-2.108927 0.94338,-0.290933 2.46137,-0.589202 3.18026,-0.624892 0.34374,-0.01707 0.6762,0.07938 0.90514,0.262586 0.20229,0.16191 0.45674,0.579859 0.49355,0.810696 0.0582,0.365862 -0.0971,0.858677 -0.36744,1.165089 -0.16247,0.184174 -0.50348,0.297495 -1.33834,0.444779 -2.30273,0.406204 -3.50305,0.878714 -5.18481,2.041014 -1.42842,0.98722 -2.54565,2.08182 -3.59989,3.52691 -0.46525,0.63776 -0.74519,1.07601 -1.39096,2.17758 -1.27855,2.18099 -2.64608,3.82724 -4.21385,5.07263 -0.23973,0.19041 -0.54111,0.4306 -0.6698,0.53366 -0.12869,0.10306 -0.53018,0.38576 -0.892023,0.62845 z m -6.876908,-3.17423 c 0.727671,-0.90627 1.022607,-2.10967 0.795636,-3.24628 -0.109292,-0.54731 -0.262587,-0.87234 -0.679239,-1.44021 -0.442388,-0.60286 -0.689255,-0.8247 -1.229395,-1.10449 -1.00602,-0.52109 -2.124623,-0.6063 -3.118248,-0.23752 -0.447968,0.16627 -1.076987,0.55292 -1.373066,0.84404 -1.086331,1.06807 -1.42624,2.60614 -0.905199,4.09596 0.115663,0.33072 0.170803,0.42723 0.508147,0.88931 0.310486,0.42532 0.427023,0.5568 0.649269,0.73266 1.114232,0.88169 2.700078,1.08766 3.988582,0.51802 0.446455,-0.19736 1.053688,-0.6657 1.363502,-1.05151 z m 8.794071,-6.40898 c 0.90604,-1.15311 1.12483,-2.69295 0.56253,-3.959062 -0.17399,-0.391744 -0.68828,-1.093668 -0.98403,-1.343048 -1.35955,-1.14636 -3.163125,-1.279923 -4.630685,-0.342927 -1.198421,0.765154 -1.868963,2.239887 -1.684296,3.704277 0.08947,0.7095 0.46976,1.5185 0.964158,2.0511 0.637675,0.68695 1.405031,1.0812 2.343778,1.20418 0.803923,0.10533 1.513908,-0.008 2.249695,-0.35799 0.2197,-0.10459 1.01904,-0.75348 1.17882,-0.95656 z M 91.556093,99.510351 c 0.356812,-0.543379 0.268043,-1.491117 -0.176779,-1.88744 -0.351825,-0.313461 -0.939345,-0.50002 -1.361001,-0.432169 -0.202741,0.03263 -0.275433,0.06967 -0.593568,0.302476 -0.326989,0.239283 -0.374867,0.288852 -0.488396,0.505531 -0.162033,0.309284 -0.216625,0.790648 -0.126199,1.112728 0.09085,0.32359 0.347085,0.674844 0.62584,0.857813 0.67157,0.44099 1.671312,0.22456 2.120158,-0.458981 z m -7.369035,4.461759 c 0.809836,-0.89521 1.15147,-2.09315 0.934534,-3.27693 -0.113652,-0.6202 -0.272822,-0.990587 -0.64996,-1.512477 -0.375596,-0.519789 -0.733709,-0.840271 -1.250697,-1.119357 -0.9569,-0.516566 -2.136364,-0.60532 -3.204334,-0.241129 -0.281769,0.09608 -0.383298,0.156488 -0.886455,0.527386 -0.527412,0.389056 -0.584177,0.441198 -0.790723,0.730653 -0.405599,0.56841 -0.586554,0.990614 -0.709424,1.655254 -0.130734,0.70717 -0.06529,1.39487 0.197866,2.07907 0.178496,0.46409 0.741267,1.23149 1.130939,1.54213 0.859484,0.6852 1.98808,0.97958 3.056509,0.79727 0.315551,-0.0539 0.755347,-0.18869 1.020541,-0.31291 0.296477,-0.13886 0.908967,-0.6012 1.151211,-0.86897 z M 98.592722,93.358515 c 0.112487,-0.145131 0.298186,-0.440045 0.412656,-0.655365 0.175981,-0.331026 0.221477,-0.476491 0.294598,-0.941934 0.140041,-0.89133 0.09423,-1.482911 -0.167769,-2.166937 -0.18059,-0.471458 -0.715192,-1.202618 -1.111298,-1.519481 -0.577521,-0.462409 -1.331506,-0.779469 -2.027022,-0.852383 -1.754243,-0.183897 -3.382484,0.811025 -3.97483,2.428789 -0.126623,0.345821 -0.256671,1.107599 -0.252931,1.481573 0.0079,0.787359 0.340128,1.695661 0.828747,2.265631 1.179317,1.375676 2.970239,1.794647 4.584991,1.07262 0.389669,-0.17424 1.148931,-0.772105 1.412665,-1.112369 z m -10.830628,-0.02102 c 0.914751,-1.275591 0.974979,-3.030911 0.148799,-4.336616 -0.594266,-0.939178 -1.6362,-1.578101 -2.817243,-1.727539 -0.65547,-0.08294 -1.344058,0.01165 -1.920694,0.263838 -0.41872,0.183128 -1.072999,0.66063 -1.343027,0.980242 -0.931063,1.101687 -1.185253,2.531476 -0.697279,3.922105 0.180501,0.514398 0.66164,1.18884 1.100347,1.542429 0.807791,0.651061 1.911695,0.978249 2.905507,0.861162 0.773091,-0.09108 1.242752,-0.287032 1.89954,-0.792527 0.421897,-0.324698 0.502596,-0.404169 0.724087,-0.713044 z"
|
||||
id="path1" /></g></svg>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": [
|
||||
"../themes/gallerydeluxe/assets/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
baseURL = "https://nds.delmar.bzh/"
|
||||
title = "Nulla Dies Sine Pictura"
|
||||
disableKinds = ["section", "taxonomy", "term"]
|
||||
|
||||
[params]
|
||||
# Set to enable Plausible Analytics.
|
||||
plausible_domain = ""
|
||||
|
||||
[params.gallerydeluxe]
|
||||
|
||||
# Shuffle the images in the gallery to give the impression of a new gallery each page load.
|
||||
shuffle = false
|
||||
|
||||
# Reverse the order of the images in the gallery.
|
||||
reverse = true
|
||||
|
||||
# Enable Exif data in the gallery.
|
||||
# See https://gohugo.io/content-management/image-processing/#exif-data for how to filter tags.
|
||||
enable_exif = true
|
||||
|
||||
# Optional watermark file for the large images.
|
||||
[params.gallerydeluxe.watermark]
|
||||
image = "images/movie.svg" # relative to /assets
|
||||
posx = "left" # one of "left", "center", "right"
|
||||
posy = "bottom" # one of "top", "center", "bottom"
|
||||
|
||||
[build]
|
||||
[[build.cacheBusters]]
|
||||
source = 'content/.*\.(png|jpg|jpeg|webp)'
|
||||
target = '(json)'
|
||||
[[build.cacheBusters]]
|
||||
source = 'layouts/.*'
|
||||
target = '(json)'
|
||||
|
||||
[caches]
|
||||
[caches.images]
|
||||
dir = ':cacheDir/gallerydeluxe'
|
||||
maxAge = "4320h" # 6 months.
|
||||
|
||||
[imaging]
|
||||
resampleFilter = "CatmullRom"
|
||||
quality = 71
|
||||
anchor = "smart"
|
||||
[imaging.exif]
|
||||
disableDate = false
|
||||
disableLatLong = true
|
||||
includeFields = 'Artist|LensModel|FNumber|ExposureTime'
|
||||
|
||||
[server]
|
||||
[[server.headers]]
|
||||
for = '/**'
|
||||
[server.headers.values]
|
||||
Referrer-Policy = 'strict-origin-when-cross-origin'
|
||||
|
||||
[module]
|
||||
[[module.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
[[module.mounts]]
|
||||
source = "content"
|
||||
target = "content"
|
||||
[[module.mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
[[module.imports]]
|
||||
path = "github.com/bep/gallerydeluxe"
|
||||
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 165 KiB |
|
After Width: | Height: | Size: 252 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 171 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 231 KiB |
|
After Width: | Height: | Size: 157 KiB |
|
After Width: | Height: | Size: 265 KiB |
|
After Width: | Height: | Size: 279 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 152 KiB |
|
After Width: | Height: | Size: 477 KiB |
|
After Width: | Height: | Size: 223 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 118 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 337 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 212 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 388 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 241 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 192 KiB |
|
After Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 151 KiB |
|
After Width: | Height: | Size: 274 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 159 KiB |
|
After Width: | Height: | Size: 196 KiB |
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 400 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 228 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 166 KiB |
|
After Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 217 KiB |
|
After Width: | Height: | Size: 166 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 242 KiB |
|
After Width: | Height: | Size: 229 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 217 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 234 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 190 KiB |
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: The Moving Images
|
||||
headless: true
|
||||
---
|
||||
@@ -0,0 +1,5 @@
|
||||
module github.com/bep/gallerydeluxe_starter
|
||||
|
||||
go 1.19
|
||||
|
||||
require github.com/bep/gallerydeluxe v0.11.1 // indirect
|
||||
@@ -0,0 +1,18 @@
|
||||
github.com/bep/gallerydeluxe v0.6.0 h1:HM32hGtRP93rRoSdlLne/IzjmJBIbtiuCkSbj/tBtho=
|
||||
github.com/bep/gallerydeluxe v0.6.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.7.0 h1:X+HoxJQOmpi08Re7wJRk0QsrLbNKYIgAxupmQQ66xKc=
|
||||
github.com/bep/gallerydeluxe v0.7.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.8.1 h1:PD3x1GVebSrfAxHDsebt8Trc9aZmF+PA4mXw6l/bABo=
|
||||
github.com/bep/gallerydeluxe v0.8.1/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.9.0 h1:l/FD9aUq78Yy/ltXF0CTAk3FwInCXXxIwCDKLNkoqjU=
|
||||
github.com/bep/gallerydeluxe v0.9.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.9.1 h1:Ca78oSIglf4gPu7yopQ4M/fsqiPQLqvXNMT2xX3KYRQ=
|
||||
github.com/bep/gallerydeluxe v0.9.1/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.9.2 h1:5dep3RdyiwUpMqzAjrwoKgM0O9y8fvR9J5QZk13/lZk=
|
||||
github.com/bep/gallerydeluxe v0.9.2/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.10.0 h1:0CXOArpCD6S0XdhFpXuShnlqx8VJBCrWhKdgi/xdRjE=
|
||||
github.com/bep/gallerydeluxe v0.10.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.11.0 h1:A5me+REJREWnHTC73yKeuXcC7g3V3s0DjgY7EDMwJMQ=
|
||||
github.com/bep/gallerydeluxe v0.11.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
github.com/bep/gallerydeluxe v0.11.1 h1:Bls2hBDY7WJ01TKtbmQT0Cl/Nwy8S/r5yj5qBaP7elo=
|
||||
github.com/bep/gallerydeluxe v0.11.1/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
|
||||
@@ -0,0 +1,4 @@
|
||||
baseURL = 'https://nds.delmar.bzh/'
|
||||
languageCode = 'en-gb'
|
||||
title = 'Nulla Dies Sine Pictura'
|
||||
theme = 'gallerydeluxe'
|
||||
@@ -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">×</span>
|
||||
{{ if $params.enable_exif }}
|
||||
<div id="gd-modal-exif" class="gd-modal-exif"></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -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 }}
|
||||
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
@@ -0,0 +1,6 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.104.2"
|
||||