From d7f9e84041e265b86fbd402b5e4e4f2e0c8105ac Mon Sep 17 00:00:00 2001 From: Brooke <12855764+goingforbrooke@users.noreply.github.com> Date: Thu, 11 May 2023 14:27:27 -0700 Subject: [PATCH] Fix: link the top-left logo to `logo_home_link` This fix works by adding missing two missing `.extra`'s when accessing the `logo_home_link` in the `header` template block. The bug is caused by the first missing `.extra`, which makes Tera assume that `logo_home_link` variable doesn't exist, so the `if` trigger for using it never fires. This means that the logo will always link to the default value of `base_url`. The second missing `.extra` comes after the `if` fires. It's used to set the value of `logo_link` to `logo_home_link`. --- templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 42366b5..223c348 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,8 +29,8 @@