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.
Solution
This fix works by adding missing two missing .extra's when accessing the logo_home_link in the header template block.
Fixes #38.
Context
My current workaround is to extend the header block with the fix proposed here.
Issue
The bug is caused by the first missing
.extra
, which makes Tera assume thatlogo_home_link
variable doesn't exist, so theif
trigger for using it never fires. This means that the logo will always link to the default value ofbase_url
.The second missing
.extra
comes after theif
fires. It's used to set the value oflogo_link
tologo_home_link
.Solution
This fix works by adding missing two missing
.extra
's when accessing thelogo_home_link
in theheader
template block.Fixes #38.
Context
My current workaround is to extend the
header
block with the fix proposed here.