Merge pull request #39 from goingforbrooke/patch-3

Fix: link the top-left logo to `logo_home_link` when `logo_home_link` is set
This commit is contained in:
Paweł Romanowski 2023-05-16 12:02:23 +02:00 committed by GitHub
commit eae22964a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,8 +29,8 @@
<header class="header">
<div class="header__inner">
<div class="header__logo">
{%- if config.logo_home_link %}
{% set logo_link = config.logo_home_link %}
{%- if config.extra.logo_home_link %}
{% set logo_link = config.extra.logo_home_link %}
{% else %}
{% set logo_link = config.base_url %}
{% endif -%}