Compare commits

...

2 Commits

Author SHA1 Message Date
Jakub
d03176171c Merge branch 'master' of git.jakubb.xyz:34mdh/hugo-theme 2024-03-06 22:45:04 -05:00
Jakub
5a9d101d37 change thumbnail resolution 2024-03-06 22:44:22 -05:00

View File

@ -12,8 +12,8 @@
<div class="gallery">
{{ range $images }}
<div class="gallery-item">
{{ $thumbnail := .Process "resize x600 q50 jpeg" }}
{{ $public := .Process "jpeg q100" }}
{{ $thumbnail := .Process "resize x400 q50 jpeg" }}
{{ $public := .Process "resize 2160x jpeg" }}
<a href="{{ $public.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" /></a>
</div>
{{ end }}