27
0
Fork 1
forked from mirror/Mainroad

Update logo partial: improve indentations

Just a matter of taste. This version looks more
readable in non-mixed cases without minification.
This commit is contained in:
vimux 2020-06-01 12:13:41 -04:00
parent 1532bc2b7a
commit 7e1f789772
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -8,12 +8,12 @@
<div class="logo{{ with $logoMix }} logo--mixed{{ end }}">
<a class="logo__link" href="{{ "" | relLangURL }}"{{ with $logoTitle }} title="{{ . }}"{{ end }} rel="home">
{{- with $logoImage }}
{{ with $logoImage -}}
<div class="logo__item logo__imagebox">
<img class="logo__img" src="{{ . | relURL }}">
</div>
{{- end -}}
{{- with $logoTitle -}}
{{ with $logoTitle -}}
<div class="logo__item logo__text">
<div class="logo__title">{{ . }}</div>
{{ with $logoSubtitle }}<div class="logo__tagline">{{ . }}</div>{{ end }}