<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partial "head/head-start.html" . }}
{{ partialCached "head/scss.html" . }}
{{ partial "head/favicon.html" . }}
{{ partial "head/description.html" . }}
{{ partial "opengraph.html" . }}
{{ partial "schema.html" . }}
{{ partial "head/rss_link.html" . }}

<!-- Direct custom CSS -->
<link rel="stylesheet" href="{{ "css/custom.css" | relURL }}">

<!-- Theme switcher: run before paint to avoid flash -->
<script>
(function(){
  var t = localStorage.getItem('theme');
  if (t) { document.documentElement.setAttribute('data-theme', t); }
  if (localStorage.getItem('f4_username') === 'hyzen') {
    document.documentElement.classList.add('hyzen-user');
  }
})();
</script>

{{ partial "head/head-end.html" . }}
