2024-09-26 22:54:41 +00:00
|
|
|
<header class="site-header">
|
|
|
|
<div class="container">
|
|
|
|
<div class='hang-left'>
|
2024-09-30 01:32:51 +00:00
|
|
|
<a href="{{.Site.BaseURL}}" class="site-masthead">
|
2024-09-26 22:54:41 +00:00
|
|
|
{{ with .Site.Params.masthead.image }}
|
|
|
|
<img class="site-masthead__image" height="32" src="{{.}}">
|
|
|
|
{{ end }}
|
|
|
|
{{ with resources.Get .Site.Params.masthead.svg }}
|
|
|
|
{{ .Content | safeHTML }}
|
|
|
|
{{ end }}
|
|
|
|
{{if .Site.Params.masthead.hideTitle}}
|
|
|
|
{{ else }}
|
|
|
|
<span class="site-title">{{or .Site.Params.masthead.title .Site.Title}}</span>
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ if in .Site.Params.search.showIn "header" }}
|
|
|
|
{{ partial "search/search-form.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "nav-header.html" . }}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div class="scroll-margin" style="position: relative;">
|
|
|
|
<div id="top" style="scroll-margin-top: var(--header-height);"></div>
|
|
|
|
</div>
|