Use logo svg for current locale

This commit is contained in:
Benjamin Bach 2020-05-29 22:43:56 +02:00
parent 7db71cf5dc
commit 528429aee5
Signed by untrusted user: benjaoming
GPG key ID: 7D49441634585664

View file

@ -1,8 +1,7 @@
<nav class="datacoop-navbar">
<a href="/" class="data-coop-sidebar-logo">
<img src="{{ printf "/static/img/logo.svg" | absURL }}">
{{ (i18n "tagline") | safeHTML }}
<img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}">
</a>
<div class="datacoop-menulists">