I get told to shut up a lot by my friend. This is the microsite that documents this in detail. shutup.jp
postcards microsite

Allow linking to specific postcard

Changed files
+1 -1
+1 -1
index.html.tmpl
··· 24 24 </section> 25 25 26 26 {{ range .Postcards }} 27 - <figure> 27 + <figure id="{{.Name}}"> 28 28 <input type="checkbox" id="postcard-{{.Name}}"> 29 29 <label for="postcard-{{.Name}}"> 30 30 <div class="postcard flip-{{ .Meta.Flip }} {{ if gt .Meta.Physical.FrontDimensions.PxHeight .Meta.Physical.FrontDimensions.PxWidth }}portrait{{ else }}landscape{{ end }}" style="--postcard: url('{{ .Name }}.postcard.webp'); --aspect-ratio: {{ .Meta.Physical.FrontDimensions.PxWidth }} / {{ .Meta.Physical.FrontDimensions.PxHeight }}">