summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-13 15:08:43 -0400
committerDavid Robillard <d@drobilla.net>2022-07-13 15:12:18 -0400
commit7a987f1af58964826d2ae15fe44684ce0167e438 (patch)
treec84a0b8608624fc1323360cd577a3a74e99cdd60
parent889f2c3f907b5471db7399e886d7b6778216c02b (diff)
downloadlv2site-7a987f1af58964826d2ae15fe44684ce0167e438.tar.xz
Fall back to a text link in the menu if there is no site logo
-rw-r--r--themes/lv2/templates/base.html10
1 files changed, 6 insertions, 4 deletions
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 %}