mirror of
https://github.com/loviuz/loviuz-website.git
synced 2024-12-22 21:38:37 +01:00
Fix template list
This commit is contained in:
parent
d1c24a2eb9
commit
d1ca8a831a
@ -12,10 +12,10 @@
|
||||
<ul class="projects-list">
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ $image := .Resources.GetMatch .Params.image }}
|
||||
{{ $image := $image.Resize "x350" }}
|
||||
{{ $image := $image.Crop "350x350" }}
|
||||
{{ if $image }}
|
||||
<li>
|
||||
{{ if $image }}
|
||||
{{ $image := $image.Resize "x350" }}
|
||||
{{ $image := $image.Crop "350x350" }}
|
||||
<div class="project-image">
|
||||
<a href="{{ .Params.externalLink | default .RelPermalink }}">
|
||||
<img src="{{ $image.RelPermalink }}">
|
||||
|
Loading…
Reference in New Issue
Block a user