blog/themes/hello-friend-ng/layouts/partials/logo.html

15 lines
828 B
HTML

2022-07-06 15:45:22 +07:00
<a href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{else}}{{ .Site.BaseURL | relLangURL }}{{ end }}" style="text-decoration: none;">
<div class="logo">
<img src="{{ .Site.Params.Logo.path }}" alt="{{ .Site.Params.Logo.alt }}" />
<span class="logo__mark">{{ .Site.Params.Logo.logoMark }}</span>
<span class="logo__text">
{{ partial "breadcrumb.html" .Page }}
</span>
<span class="logo__cursor" style=
"{{ with.Site.Params.Logo.logoCursorDisabled }}visibility:hidden;{{ end }}
{{ with.Site.Params.Logo.logoCursorColor }}background-color:{{ . }};{{ end }}
{{ with.Site.Params.Logo.logoCursorAnimate }}animation-duration:{{ . }};{{ end }}">
</span>
</div>
</a>