diff options
author | 2021-03-24 13:22:57 +0800 | |
---|---|---|
committer | 2021-03-24 13:22:57 +0800 | |
commit | 731ff9482ecae7b5293bcfe1512389efd7f17571 (patch) | |
tree | 4bd632610c708834745057c54a05cd6ee2a0d4a8 /pydis_site/apps/content/views | |
parent | Update guide to reflect changes in events app. (diff) |
Improve phrasing and wording of documentation.
Diffstat (limited to 'pydis_site/apps/content/views')
-rw-r--r-- | pydis_site/apps/content/views/page_category.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/views/page_category.py b/pydis_site/apps/content/views/page_category.py index 7e04e2f3..7e8fe07d 100644 --- a/pydis_site/apps/content/views/page_category.py +++ b/pydis_site/apps/content/views/page_category.py @@ -19,7 +19,7 @@ class PageOrCategoryView(TemplateView): return super().dispatch(request, *args, **kwargs) def get_template_names(self) -> t.List[str]: - """Checks does this use page template or listing template.""" + """Checks if the view uses the page template or listing template.""" if self.full_location.is_dir(): template_name = "content/listing.html" elif self.full_location.with_suffix(".md").is_file(): |