mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Fixed logo display when only mobile logo is chosen
This commit is contained in:
parent
a441ae3020
commit
cf01929426
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %}
|
||||
{% set logo = theme_var('custom_logo_mobile') ?: theme_var('custom_logo') %}
|
||||
<a href="{{ home_url }}" class="logo">
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
|
|
Loading…
Add table
Reference in a new issue