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
meta.title and meta.description only renders first character #553
Comments
I could reproduce this issue but it's easily fixed by using the following:
I got those variable names from the MkDocs 0.17.0 Release Notes: |
An update from me. I realised that using the above does correctly populates the title and description - but it also adds the title and description within the HTML of the page. Looks like a bug. Using the following works though:
|
Fixed in #554, release will follow today. |
The same is true for author metadata. For example,
yields in the HTML
and the same workaround succeeds:
yields
|
Same fix as in #554 - I can't remember why I put the |
Description
The content in
<title></title>
and<description></description>
derived from the page metatitle
anddescription
only consist of the first character for the page meta value.Expected behavior
<title></title>
should consist of full content from the page metatitle
<description></description>
should consist of full content from the page metadescription
Actual behavior
<title></title>
consist of only the first character from the page metatitle
<description></description>
consist of only the first character from the page metadescription
Steps to reproduce the bug
page.md
set the following meta data:<title>P</title>
and<description>P</description>
Package versions
System information
The text was updated successfully, but these errors were encountered: