Make list images slightly larger
Makes them look crisper
This commit is contained in:
parent
ff2e079dbc
commit
ccbf904010
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
{{ .Scratch.Set "image" .Params.image }}
|
||||
{{ if hasPrefix .Params.image "resource:" }}
|
||||
{{ $resource := .Resources.GetMatch (replace .Params.image "resource:" "") }}
|
||||
{{ .Scratch.Set "image" ($resource.Resize "300x").RelPermalink }}
|
||||
{{ .Scratch.Set "image" ($resource.Resize "500x").RelPermalink }}
|
||||
{{ end }}
|
||||
<div class="image" data-image='{{ .Scratch.Get "image" }}'></div>
|
||||
</a>
|
||||
|
@ -19,4 +19,3 @@
|
|||
<p>{{ partial "summary.html" . }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue