Use 64x64 for logos
parent
82f1516371
commit
d591c7db26
|
@ -76,7 +76,7 @@
|
||||||
<!-- Get image and resize to logo size -->
|
<!-- Get image and resize to logo size -->
|
||||||
{{ $imagePath := printf "img/%s.png" $imageName }}
|
{{ $imagePath := printf "img/%s.png" $imageName }}
|
||||||
{{ $image := resources.Get $imagePath }}
|
{{ $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) -->
|
<!-- Get logo link in site params (index allows to use a dynamic parameter name) -->
|
||||||
<a class="navbar-item" href="{{ index $.Site.Params $imageName }}">
|
<a class="navbar-item" href="{{ index $.Site.Params $imageName }}">
|
||||||
<img src="{{ $image32.Permalink }}">
|
<img src="{{ $image32.Permalink }}">
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue