From d2962d95512f03388389c5e0fe6cf1177071f70e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 3 Sep 2023 12:55:11 +0200 Subject: [PATCH] Documentation --- material/plugins/blog/plugin.py | 2 +- src/plugins/blog/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/plugins/blog/plugin.py b/material/plugins/blog/plugin.py index 0017ddea4..769120cf7 100644 --- a/material/plugins/blog/plugin.py +++ b/material/plugins/blog/plugin.py @@ -174,7 +174,7 @@ class BlogPlugin(BasePlugin[BlogConfig]): page = self.blog.file.page self._attach_at(page.parent, page, self.blog) - # Hack: update pages instances in navigation - this can also be removed + # Hack: update page instances in navigation - this can also be removed # once an already open pull request is merged - see https://t.ly/9C_Kz for page in [self.blog, *self.blog.posts, *self.blog.views]: assert isinstance(page, Page) diff --git a/src/plugins/blog/plugin.py b/src/plugins/blog/plugin.py index 0017ddea4..769120cf7 100644 --- a/src/plugins/blog/plugin.py +++ b/src/plugins/blog/plugin.py @@ -174,7 +174,7 @@ class BlogPlugin(BasePlugin[BlogConfig]): page = self.blog.file.page self._attach_at(page.parent, page, self.blog) - # Hack: update pages instances in navigation - this can also be removed + # Hack: update page instances in navigation - this can also be removed # once an already open pull request is merged - see https://t.ly/9C_Kz for page in [self.blog, *self.blog.posts, *self.blog.views]: assert isinstance(page, Page)