Skip to content

Navigation Bar Logo and Title - Duplicate Site Name  #1025

@gmichaelides

Description

@gmichaelides

It seems that if you add a logo that includes a name in addition to a graphic, as per https://www.docsy.dev/docs/adding-content/iconsimages/, you will get the name duplicated in the navigation bar.

So your logo would look like: graphic, example.com, example.com

Although there is an option to hide the logo in the config file, there is no option to hide the text.
navbar_logo = true

Maybe if something like this gets introduced:

 navbar_title = true

Then something like this can be introduced in navbar.html

{{ if .Site.Params.ui.navbar_title }}......... can be used.

For the time-being, I have cloned navbar.html and removed the following section from the end of line 4:
<span class="text-uppercase font-weight-bold">{{ .Site.Title }}</span>

Metadata

Metadata

Assignees

Labels

design/styleFront-end site design / stylinge0-minutesEffort < 60 min

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions