mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-22 15:55:08 +01:00
10 lines
542 B
HTML
10 lines
542 B
HTML
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}" class="logo" style="text-decoration: none;">
|
|
{{ if $.Site.Params.Logo.path }}
|
|
<img src="{{ $.Site.Params.Logo.path }}" alt="{{ $.Site.Params.Logo.alt }}" />
|
|
{{ else }}
|
|
<span class="logo__mark">{{ partial "greater-icon.html" . }}</span>
|
|
<span class="logo__text">{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}hello friend{{ end }}</span>
|
|
<span class="logo__cursor"></span>
|
|
{{ end }}
|
|
</a>
|