From 7a987f1af58964826d2ae15fe44684ce0167e438 Mon Sep 17 00:00:00 2001 From: David Robillard <d@drobilla.net> Date: Wed, 13 Jul 2022 15:08:43 -0400 Subject: Fall back to a text link in the menu if there is no site logo --- themes/lv2/templates/base.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'themes/lv2') diff --git a/themes/lv2/templates/base.html b/themes/lv2/templates/base.html index e7e113c..45b8809 100644 --- a/themes/lv2/templates/base.html +++ b/themes/lv2/templates/base.html @@ -33,13 +33,15 @@ <nav> <ul> <li> - <a href="{{ SITEURL }}/" class="navbar-brand"> - {% if SITELOGO %} + {% if SITELOGO %} + <a href="{{ SITEURL }}/" class="navbar-brand"> <img id="logo" alt="{{ SITENAME }}" width="{{ SITELOGO_WIDTH }}" height="{{ SITELOGO_HEIGHT}}" src="{{ SITEURL }}/{{ SITELOGO }}" /> - {% endif %} - </a> + </a> + {% else %} + <a href="{{ SITEURL }}/">{{ SITENAME }}</a> + {% endif %} </li> {% for title, link in MENUITEMS %} -- cgit v1.2.1