Files
tsuki/layouts/_partials/header.html
T
tiennm99 5f10e72b47 feat(a11y): skip-link, focus rings, render hooks, giscus paint fix
Add skip-to-content link, enhance focus indicators, implement custom render
hooks for links and images, fix giscus dark mode paint issue.
2026-05-09 09:32:21 +07:00

15 lines
576 B
HTML

<header class="site-header">
<a class="site-title" href="{{ "/" | relURL }}">
{{- with site.Data.profile }}{{ .name | default site.Title }}{{ else }}{{ site.Title }}{{ end -}}
</a>
{{ partial "nav.html" . }}
<div class="site-header-actions">
{{- if site.Params.search.enable | default true }}
{{ partial "search-button.html" . }}
{{- end }}
<button type="button" class="theme-toggle" aria-label="{{ i18n "toggleTheme" | default "Toggle theme" }}" data-theme-toggle hidden>
<span aria-hidden="true"></span>
</button>
</div>
</header>