Change logo path

This commit is contained in:
Jens M. Sauer 2024-08-01 20:10:19 +02:00
parent d32f1bc986
commit 72058a0481
3 changed files with 17 additions and 3 deletions

12
assets/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -26,7 +26,7 @@ disableKinds = ["taxonomy", "section"]
[Params]
description = "Ein kleines bisschen italienisches Flair für Oldenburg"
logo = "images/banner.jpg"
logo = "logo/Logo_BarFilipo_4C_pos.svg"
favicon = false
[Params.social]

View File

@ -1,4 +1,6 @@
<p>{{ $image := resources.Get "logo/Logo_BarFilipo_4C_pos.svg" }}
<p>
{{ with resources.GetMatch "logo.*" }}
<span class="image fit">
<img src="{{ $image.Permalink }}" width="300" height="300" alt="Bar Filipo">
<img src="{{ .Permalink }}" width="300" height="300" alt="Bar Filipo">
</span>
{{ end }}