From 568bfb36704215d371f1ab56ba991fcf1be7a9ba Mon Sep 17 00:00:00 2001 From: Hop Date: Sat, 11 Jul 2026 10:42:09 -0700 Subject: [PATCH] Fix Hop homepage asset URLs so styling and logo load Hop-State: A_06FN4HDTP85Z09XY3BKECQR Hop-Proposal: R_06FN4HD484STXA4V1Q7H6RG Hop-Task: T_06FN4HAHV8Z9WW3VHG7NFG8 Hop-Attempt: AT_06FN4HAHVAG59R709PFP8HR --- deploy/gitea/public/assets/js/hop-native.js | 4 ++-- deploy/gitea/templates/custom/footer.tmpl | 4 ++-- deploy/gitea/templates/home.tmpl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/gitea/public/assets/js/hop-native.js b/deploy/gitea/public/assets/js/hop-native.js index 0a70cc1..8bb153e 100644 --- a/deploy/gitea/public/assets/js/hop-native.js +++ b/deploy/gitea/public/assets/js/hop-native.js @@ -141,8 +141,8 @@ } function applyHopSemantics() { - const brandLogo = document.querySelector('#navbar-logo img'); - if (brandLogo) brandLogo.src = brandLogo.src.replace('/img/logo.svg', '/assets/img/hop.svg'); + const brandLogo = document.querySelector('#navbar-logo img'); + if (brandLogo) brandLogo.src = brandLogo.src.replace('/img/logo.svg', '/img/hop.svg'); for (const root of document.querySelectorAll(semanticRoots)) replaceExactText(root); replaceAccessibleLabels(document); addWorkflowSummary(); diff --git a/deploy/gitea/templates/custom/footer.tmpl b/deploy/gitea/templates/custom/footer.tmpl index d6fe083..31ceff3 100644 --- a/deploy/gitea/templates/custom/footer.tmpl +++ b/deploy/gitea/templates/custom/footer.tmpl @@ -1,2 +1,2 @@ - - + + diff --git a/deploy/gitea/templates/home.tmpl b/deploy/gitea/templates/home.tmpl index 48a0f17..2c68058 100644 --- a/deploy/gitea/templates/home.tmpl +++ b/deploy/gitea/templates/home.tmpl @@ -16,7 +16,7 @@