forked from jakub/jakubb-hugo
Compare commits
2 Commits
64ea83f0e2
...
d03176171c
Author | SHA1 | Date | |
---|---|---|---|
|
d03176171c | ||
|
5a9d101d37 |
@ -12,8 +12,8 @@
|
|||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
{{ range $images }}
|
{{ range $images }}
|
||||||
<div class="gallery-item">
|
<div class="gallery-item">
|
||||||
{{ $thumbnail := .Process "resize x600 q50 jpeg" }}
|
{{ $thumbnail := .Process "resize x400 q50 jpeg" }}
|
||||||
{{ $public := .Process "jpeg q100" }}
|
{{ $public := .Process "resize 2160x jpeg" }}
|
||||||
<a href="{{ $public.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" /></a>
|
<a href="{{ $public.RelPermalink }}" target="_blank"><img src="{{ $thumbnail.RelPermalink }}" /></a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user