mirror of
https://github.com/tiennm99/tsuki.git
synced 2026-07-16 14:17:37 +00:00
Add skip-to-content link, enhance focus indicators, implement custom render hooks for links and images, fix giscus dark mode paint issue.
15 lines
576 B
HTML
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>
|