mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-23 00:05:07 +01:00
12 lines
440 B
HTML
12 lines
440 B
HTML
<a href="{{ .Site.BaseURL }}" style="text-decoration: none;">
|
|
<div class="logo">
|
|
{{ if .Site.Params.Logo.path }}
|
|
<img src="{{ .Site.Params.Logo.path }}" alt="{{ .Site.Params.Logo.alt }}" />
|
|
{{ else }}
|
|
<span class="logo__mark">></span>
|
|
<span class="logo__text">{{ with .Site.Params.Logo.logoText }}{{ . }}{{ else }}hello friend{{ end }}</span>
|
|
<span class="logo__cursor"></span>
|
|
{{ end }}
|
|
</div>
|
|
</a>
|