Problem about <title> of the web page.
See original GitHub issueBug Report
This is a question, and I’m a rookie user.
Steps to reproduce
- In the
index.html
, wrote<title>demo</title>
. - And the markdown file is named
doc.md
.
What is current behaviour
- If I have a
_sidebar.md
, the <title> will displaydoc - demo
. - If I set
loadSidebar: false
, the <title> will displaydemo
, notdoc
. When I shared many pages, they all nameddemo
, cannot be distinguished.
What is the expected behaviour
- I wish the <title> can display
doc
, whileloadSidebar: false
. - Can there be an option, display <title> as
doc
, without- demo
. Even if I wrote nothing in<title></title>
of theindex.html
, it will still displaydoc -
.
Other relevant information
window.$docsify = {
name: 'demo',
repo: '',
maxLevel: 6,
auto2top: true,
homepage: 'HOME.md',
// ========== sidebar
loadSidebar: false,
subMaxLevel: 3,
logo: 'icon.png',
autoHeader: true,
// ========== search
search: {
noData: {
'/': 'No results!'
},
paths: 'auto',
placeholder: {
'/': 'Search'
}
},
formatUpdated: '{YYYY}-{MM}-{DD} {HH}:{mm}',
}
-
Bug does still occur when all/other plugins are disabled?
-
Your OS:
-
Node.js version:
-
npm/yarn version:
-
Browser version:
-
Docsify version:
-
Docsify plugins:
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
5 Common SEO Mistakes with Web Page Titles - WebFX
1. Not Having a Title · 2. Page Titles That Are Too Short or Too Long · 3. Keyword Cannibalization · 4. Using...
Read more >How do I solve website page title error? - Marketing - SitePoint
I have a website dermaclinix.in. This site made with WordPress. When I checked the page source, then page title looking fine (Best Hair ......
Read more >51. Webpage has multiple title elements or no title element
Description: Webpages should have a single title. It is incorrect for a webpage to either have no title or to have multiple titles....
Read more >Page Title accessibility failures - AccessibilityOz
For example, screen readers announce the page TITLE when they load web pages. When used correctly, the TITLE element is an important tool...
Read more >When Google Gets It Wrong By Changing The Titles Of Web ...
Google doesn't always use the HTML title tag of a web page, choosing instead to ... Listing the wrong site first is a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
THanks for taking time !
This needs a discussion as this might conflict with the homepage title which needs to be the title passed (eg
demo
for your case) otherwise it would bedemo - demo
.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.