gallery masonry is mostly working now. Still needs some aestetical retouching and...
[theme-danix.xyz.git] / layouts / shortcodes / gal-img.html
CommitLineData
85782679 1{{- $src := .Get "src" -}}
2{{- $source := resources.Get $src -}}
3{{- $alt := .Get "alt" -}}
4{{- $icon := $source.Resize "400x webp" -}}
5<a class="gallery-item" href="{{ $source.RelPermalink }}" target="_blank">
6 <img src="{{ $icon.RelPermalink }}" alt="{{ $alt }}">
7</a>