{{ $cover := and
  (.HasShortcode "blocks/cover")
  (not .Site.Params.ui.navbar_translucent_over_cover_disable)
-}}
{{ $baseURL := urls.Parse $.Site.Params.Baseurl -}}

{{ $title := "" }}
{{ with .Site.Params.ui.show_nav_title }}
  {{- if eq . true -}}
    {{- $title = $.Site.Params.title -}}
  {{ end }}
{{ end }}


<nav
  class="td-navbar navbar-dark js-navbar-scroll
            {{- if $cover }}td-navbar-cover{{- end }}"
>
  <div class="container-fluid flex-column flex-md-row">
    <a class="navbar-brand" 