8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content

meta.title and meta.description only renders first character #553

@martinbira

Description

@martinbira

Description

The content in <title></title> and <description></description> derived from the page meta title and description only consist of the first character for the page meta value.

Expected behavior

<title></title> should consist of full content from the page meta title
<description></description> should consist of full content from the page meta description

Actual behavior

<title></title> consist of only the first character from the page meta title
<description></description> consist of only the first character from the page meta description

Steps to reproduce the bug

  1. In page.md set the following meta data:
---
title: Page title
description: Page description
---
  1. Verify that mkdocs builds page.
  2. Check page source for <title>P</title> and <description>P</description>

Package versions

  • Python: 3.6.1
  • MkDocs: 0.17.1
  • Material: 2.01

System information

  • OS: Windows 10

Metadata

Metadata

Assignees

Labels

bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0