mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 20:21:06 +01:00
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:
commit
eae22964a8
|
@ -29,8 +29,8 @@
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<div class="header__inner">
|
<div class="header__inner">
|
||||||
<div class="header__logo">
|
<div class="header__logo">
|
||||||
{%- if config.logo_home_link %}
|
{%- if config.extra.logo_home_link %}
|
||||||
{% set logo_link = config.logo_home_link %}
|
{% set logo_link = config.extra.logo_home_link %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set logo_link = config.base_url %}
|
{% set logo_link = config.base_url %}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
Loading…
Reference in a new issue