Skip to content

Commit

Permalink
(statiqdev#43) Get logo url relative to context
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Sep 5, 2023
1 parent 205f0f6 commit e6bc9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/Shared/_Navigation.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
string logo = Document.GetString(SiteKeys.Logo);
if (!logo.IsNullOrWhiteSpace())
{
<img id="logo" src="@logo" alt="@Document.GetString(SiteKeys.SiteTitle)">
<img id="logo" src="@Context.GetLink(logo)" alt="@Document.GetString(SiteKeys.SiteTitle)">
}
else
{
Expand Down

0 comments on commit e6bc9b9

Please sign in to comment.