diff --git a/layouts/partials/navigators/navbar.html b/layouts/partials/navigators/navbar.html index cff947a..aad4b02 100644 --- a/layouts/partials/navigators/navbar.html +++ b/layouts/partials/navigators/navbar.html @@ -1,6 +1,8 @@ {{/* variables for enabling/disabling various features */}} {{ $blogEnabled := site.Params.features.blog.enable | default false }} +{{ $blogTitle := site.Params.features.blog.title | default (i18n "posts") }} {{ $notesEnabled := site.Params.features.notes.enable | default false }} +{{ $notesTitle := site.Params.features.notes.title | default (i18n "notes") }} {{ $maxVisibleSections := site.Params.topNavbar.maxVisibleSections | default 5 }} {{/* keep backward compatibility for blog post */}} @@ -121,12 +123,12 @@ {{ end }} {{ if $blogEnabled }} {{ end }} {{ if $notesEnabled }} {{ end }} {{ range $customMenus }}