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:
@@ -658,7 +658,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
# Render excerpts for selected posts
|
# Render excerpts for selected posts
|
||||||
posts = [
|
posts = [
|
||||||
self._render_post(post.excerpt, view)
|
self._render_post(post.excerpt, view)
|
||||||
for post in posts
|
for post in posts if post.excerpt
|
||||||
]
|
]
|
||||||
|
|
||||||
# Return posts and pagination
|
# Return posts and pagination
|
||||||
|
|||||||
@@ -658,7 +658,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
# Render excerpts for selected posts
|
# Render excerpts for selected posts
|
||||||
posts = [
|
posts = [
|
||||||
self._render_post(post.excerpt, view)
|
self._render_post(post.excerpt, view)
|
||||||
for post in posts
|
for post in posts if post.excerpt
|
||||||
]
|
]
|
||||||
|
|
||||||
# Return posts and pagination
|
# Return posts and pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user