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 }}
|
{{ .Scratch.Set "image" .Params.image }}
|
||||||
{{ if hasPrefix .Params.image "resource:" }}
|
{{ if hasPrefix .Params.image "resource:" }}
|
||||||
{{ $resource := .Resources.GetMatch (replace .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 }}
|
{{ end }}
|
||||||
<div class="image" data-image='{{ .Scratch.Get "image" }}'></div>
|
<div class="image" data-image='{{ .Scratch.Get "image" }}'></div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -19,4 +19,3 @@
|
||||||
<p>{{ partial "summary.html" . }}</p>
|
<p>{{ partial "summary.html" . }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue