Skip to content

logo in sidebar links to landing page instead of site homepage #1589

Open
@shawaj

Description

@shawaj

Bug Report

Steps to reproduce

When using a logo instead of a "site name" in the top left of the sidebar, the logo doesn't link to the site homepage, but links to the page you landed on the website from.

If you set a nameLink parameter, this does not fix the issue either.

What is current behaviour

For example, if you land on the website via websitename.com then regardless of where you browse to from then on, the website links the logo to the home page.

However, if you arrive on the website directly to websitename.com/examplepage then from that point onwards, regardless of where you browse to on the site, the logo links to the landing page you arrived on - i.e. websitename.com/examplepage in this case.

What is the expected behaviour

The logo should always link to either the home page of the site (default) or to the nameLink parameter specified in the index.html file

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS:

  • Node.js version:

  • npm/yarn version:

  • Browser version:

  • Docsify version: 4.12.1

  • Docsify plugins:

Relates to
NebraLtd/Helium-Guides#82

Please create a reproducible sandbox

N/A

Mention the docsify version in which this bug was not present (if any)

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions