hugo-theme-hello-friend/layouts/partials/logo.html

16 lines
565 B
HTML
Raw Normal View History

<a
href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{ else }}{{ $.Site.BaseURL }}{{ end }}"
class="logo"
style="text-decoration: none;"
>
2019-01-29 19:24:36 +01:00
{{ if $.Site.Params.Logo.path }}
<img src="{{ $.Site.Params.Logo.path }}" alt="{{ $.Site.Params.Logo.alt }}" />
{{ else }}
2019-02-06 12:52:43 +01:00
<span class="logo__mark">{{ partial "greater-icon.html" . }}</span>
<span class="logo__text"
>{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}hello friend{{ end }}</span
>
2019-01-29 19:24:36 +01:00
<span class="logo__cursor"></span>
{{ end }}
</a>