{{ range where .Site.Pages "Type" "index" }}
{{ partial "drawer" . }}
{{ range where .Site.Pages "Type" "index" }}
{{ partial "head" . }} {{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }} {{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} {{ .Scratch.Set "repo_id" $repo_id }} {{ end }}