You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been searching for an answer to this problem and tried everything I could based on your documentation, but perhaps I've missed how this works. Here is the issue:
I am trying to change the title tag on the Home and 404 pages for my VuePress site.
On all other pages I was easily able to accomplish this by adding the title to the front matter YAML section on each .readme page.
---
title: Documentation
lang: en-US
---
I also changed the title for each subsequent index.html pages for both the Home and 404 pages. However the bug seems to be, for the main home page, even with setting title: in the front matter YAML:
the 404 page doesn't have a corresponding readme by default, so I just change the index page and set the the title I want to display.
With all of this done - Vuepress is overwritten as the page title when the site is built. I think I traced this down to a .JS file that resides in docs/.vuepress/dist/js that seems to be used in the build process, but it's seems odd that I need to change in the .JS file, and I'm not clear why these pages don't work like the other pages I built myself.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
related issue: #450
I've been searching for an answer to this problem and tried everything I could based on your documentation, but perhaps I've missed how this works. Here is the issue:
I am trying to change the title tag on the Home and 404 pages for my VuePress site.
On all other pages I was easily able to accomplish this by adding the title to the front matter YAML section on each .readme page.
I also changed the title for each subsequent index.html pages for both the Home and 404 pages. However the bug seems to be, for the main home page, even with setting title: in the front matter YAML:
the 404 page doesn't have a corresponding readme by default, so I just change the index page and set the the title I want to display.
With all of this done - Vuepress is overwritten as the page title when the site is built. I think I traced this down to a .JS file that resides in
docs/.vuepress/dist/js
that seems to be used in the build process, but it's seems odd that I need to change in the .JS file, and I'm not clear why these pages don't work like the other pages I built myself.I am just missing something here?
Version
Steps to reproduce
See above for details.
What is expected?
the title tags for the home page and 404 page are not overridden by Vuepress.
What is actually happening?
the title tags for the home page and 404 page are being overridden by Vuepress.
Other relevant information
The text was updated successfully, but these errors were encountered: