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

Missing post titles in Blog index when specified via metadata title #5951

Closed
4 tasks done
vedranmiletic opened this issue Sep 3, 2023 · 3 comments
Closed
4 tasks done
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@vedranmiletic
Copy link
Contributor

Context

MkDocs supports specifiying post title via h1 in content, e.g. # Lorem ipsum, or via title metadata key, e.g.

---
title: Lorem ipsum
date: 1970-01-01
---

Both will get rendered correctly on individual pages.

Bug description

On Blog index page with latest posts, the title specified via metadata key does not appear. It is, however, rendered correctly on the post itself, i.e. after clicking on Continue reading.

Related links

Reproduction

9.2.7-missing-titles-for-blog-posts.zip

Steps to reproduce

  1. mkdocs serve
  2. navigate to Blog index
  3. observe missing titles
  4. click Continue reading on any post
  5. observe that the title is there

Browser

No response

Before submitting

@squidfunk
Copy link
Owner

Thanks for reporting. Fixed in 7bdd03a.

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open labels Sep 3, 2023
@vedranmiletic
Copy link
Contributor Author

Thank you!

@squidfunk
Copy link
Owner

Released as part of 9.2.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants