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

og:url still has trailing /index.html even when cleanUrl is true in site cofnig #1233

Closed
ForbesLindesay opened this issue Feb 13, 2019 · 0 comments

Comments

@ForbesLindesay
Copy link
Contributor

🐛 Bug Report

og:url still has trailing /index.html even when cleanUrl is true in site cofnig

Have you read the [Contributing Guidelines on issues]

yes

To Reproduce

  1. Create a new site using docusarus
  2. set cleanUrl to true
  3. set url: 'https://www.bicyclejs.org'
  4. build the site

Expected behavior

The header should contain:

<meta property="og:url" content="https://www.bicyclejs.org">

Actual Behavior

The header contains:

<meta property="og:url" content="https://www.bicyclejs.org/index.html">

Reproducible Demo

https://github.com/bicyclejs/bicycle

  1. cd website
    2.yarn
  2. yarn start
  3. Open your browser and inspect the page
  4. Notice the og:url tag has an erroneous /index.html on the end
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