Use 64x64 for logos

master
Quentin Duchemin 2021-05-26 19:06:45 +02:00
parent 82f1516371
commit d591c7db26
2 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@
<!-- Get image and resize to logo size -->
{{ $imagePath := printf "img/%s.png" $imageName }}
{{ $image := resources.Get $imagePath }}
{{ $image32 := $image.Resize "32x" }}
{{ $image32 := $image.Resize "64x" }}
<!-- Get logo link in site params (index allows to use a dynamic parameter name) -->
<a class="navbar-item" href="{{ index $.Site.Params $imageName }}">
<img src="{{ $image32.Permalink }}">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 13 KiB