mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed dirty rebuilds for blog plugin
This commit is contained in:
parent
568a5c8e1e
commit
acd70cf04a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user