You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/03/03 20:55:47 UTC

(incubator-pekko-sbt-paradox) 01/01: try to fix broken logo and favicon

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch broken-logo-favicon
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-sbt-paradox.git

commit a6e450cf717ce9ba8ffb640893bb79a17b7e52f2
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Mar 3 21:55:35 2024 +0100

    try to fix broken logo and favicon
---
 theme/src/main/assets/page.st         | 2 +-
 theme/src/main/assets/partials/nav.st | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/theme/src/main/assets/page.st b/theme/src/main/assets/page.st
index d5c51c5..f021ae9 100644
--- a/theme/src/main/assets/page.st
+++ b/theme/src/main/assets/page.st
@@ -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) $
diff --git a/theme/src/main/assets/partials/nav.st b/theme/src/main/assets/partials/nav.st
index f0471b9..521b9d2 100644
--- a/theme/src/main/assets/partials/nav.st
+++ b/theme/src/main/assets/partials/nav.st
@@ -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$


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org