Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom title defined in _sidebar.md is overriden by its name #1412

Closed
1 task done
ustc-zzzz opened this issue Oct 30, 2020 · 2 comments
Closed
1 task done

Custom title defined in _sidebar.md is overriden by its name #1412

ustc-zzzz opened this issue Oct 30, 2020 · 2 comments
Labels
bug confirmed as a bug

Comments

@ustc-zzzz
Copy link

ustc-zzzz commented Oct 30, 2020

Bug Report

Steps to reproduce

git clone https://github.com/ustc-zzzz/docsify-issue-1412-demo.git
cd docsify-issue-1412-demo
docsify serve

What is current behaviour

Page title is Unwanted Hello World Title now.

What is the expected behaviour

Page title should be Expected Hello World Title.

Other relevant information

Here is the content of _sidebar.md:

* [Unwanted Hello World Title](/ "Expected Hello World Title")

The title attribute is declared while it is overriden by its name.

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

  • Your OS: Linux ZZZ-PC-4 5.9.0-1-amd64 #1 SMP Debian 5.9.1-1 (2020-10-17) x86_64 GNU/Linux

  • Node.js version: v12.14.0

  • npm/yarn version: 6.14.5

  • Browser version: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36

  • Docsify version: 4.11.6

  • Docsify plugins: None

Please create a reproducible sandbox

https://ustc-zzzz.github.io/docsify-issue-1412-demo/

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

4.11.4

@sy-records
Copy link
Member

Thanks for your feedback, fixed via #1360.

@sy-records sy-records added the bug confirmed as a bug label Oct 30, 2020
@tpluscode
Copy link

Has this been released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed as a bug
Projects
None yet
Development

No branches or pull requests

3 participants