forked from jakub/jakubb-hugo
change thumbnail resolution
This commit is contained in:
parent
55122f137d
commit
5a9d101d37
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user