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

existing meta tags were removed unexpectedly #2359

Closed
1 task done
NeverBehave opened this issue Apr 30, 2020 · 2 comments
Closed
1 task done

existing meta tags were removed unexpectedly #2359

NeverBehave opened this issue Apr 30, 2020 · 2 comments

Comments

@NeverBehave
Copy link

NeverBehave commented Apr 30, 2020

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

Follow getting-started and start a minimal instance

What is expected?

The page generated should have all meta tags, like viewport, description.

What is actually happening?

The meta tags in the static html page e.g. viewport was removed after the page loaded

Other relevant information

From view source, the viewport tag appears.

View Source of the page

But after the page is loaded, only description meta remained

After Page Loaded

It is believed that this function update the meta tag

function updateMetaTags (newMetaTags, currentMetaTags) {

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: Linux 5.4 Manjaro Linux
    CPU: (8) x64 AMD Ryzen 5 PRO 3400GE w/ Radeon Vega Graphics
  Binaries:
    Node: 13.13.0 - /usr/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.14.4 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 75.0
  npmPackages:
    @vuepress/core: Not Found
    @vuepress/theme-default: Not Found
    vuepress: Not Found
  npmGlobalPackages:
    vuepress: Not Found
@NeverBehave
Copy link
Author

NeverBehave commented Apr 30, 2020

#2164

It looks like it is still replacing...

@NeverBehave
Copy link
Author

Close #2332

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

No branches or pull requests

1 participant