{{/*
  This is modified from Hextra's layouts/partials/navbar.html
  (blob: 04adb27e4f170601cc82f9d8ecf30baf50ffbe5a)

  Changes:

   * add pkgr version

   * don't blur

   * add dark/light theme toggle (but don't guard it with
     site.Params.theme.displayToggle so that Hexta's sidebar can be
     used without any changes)
*/}}

{{- $logoPath := .Site.Params.navbar.logo.path | default "images/logo.svg" -}}
{{- $logoLink := .Site.Params.navbar.logo.link | default .Site.Home.RelPermalink -}}
{{- $logoWidth