Skip to content

Commit

Permalink
try to fix broken logo and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Mar 3, 2024
1 parent d47e88d commit a6e450c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion theme/src/main/assets/page.st
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $!
$ elseif (page.properties.("material.author")) $
<meta name="author" content="$page.properties.("site.author")$">
$ endif $
<link rel="shortcut icon" href="$page.base$$page.properties.("material.favicon")$">
<link rel="shortcut icon" href="$page.properties.("assets.hostname")$$page.base$$page.properties.("material.favicon")$">
$ if (page.properties.("title")) $
<title>$page.properties.("title")$</title>
$ elseif (page.title) $
Expand Down
2 changes: 1 addition & 1 deletion theme/src/main/assets/partials/nav.st
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $!
<i class="md-icon">$page.properties.("material.logo.icon")$</i>
$ else $
$ if (page.properties.("material.logo.uri")) $
<img src="$page.properties.("material.logo.uri")$" width="24" height="24">
<img src="$page.properties.("assets.hostname")$$page.base$$page.properties.("material.logo.uri")$" width="24" height="24">
$ else $
<img src="$page.base$$page.properties.("material.logo")$" width="24" height="24">
$endif$
Expand Down

0 comments on commit a6e450c

Please sign in to comment.