Skip to content

Sidebar logo not working #1646

Closed
Closed
@blaasvaer

Description

@blaasvaer

Bug Report

This does nothing:

window.$docsify = {
  logo: '/_media/icon.svg',
};

I've tried all variations of:
'/_media/icon.svg',
'_media/icon.svg',
'/media/icon.svg',
'media/icon.svg',

None make any difference. I can easily place the logo on the coverpage ... but using that same url with 'logo:' doesn't work either.

Steps to reproduce

Erhm, well change the path ...

What is current behaviour

Noting happens.

What is the expected behaviour

I should see a logo in the sidebar (I guess), as the docs describe.

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:

  • Docsify plugins:

Please create a reproducible sandbox

Edit 307qqv236

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions