1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00

Fixed dirty rebuilds for blog plugin

This commit is contained in:
squidfunk 2023-08-27 12:56:28 +02:00
parent 568a5c8e1e
commit acd70cf04a
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 2 deletions

View File

@ -658,7 +658,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
# Render excerpts for selected posts
posts = [
self._render_post(post.excerpt, view)
for post in posts
for post in posts if post.excerpt
]
# Return posts and pagination

View File

@ -658,7 +658,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
# Render excerpts for selected posts
posts = [
self._render_post(post.excerpt, view)
for post in posts
for post in posts if post.excerpt
]
# Return posts and pagination