Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Fix simple typo: categoty -> category #686

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quokka/core/content/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get(self, category=None, tag=None, author=None,
else:
query['authors_string'] = {'$regex': f'.*,{author},.*'}
elif home_template:
# use custom template only when categoty is blank '/'
# use custom template only when category is blank '/'
# and INDEX_TEMPLATE is defined
template = home_template
custom_template = f'{content_type}/{home_template}.html'
Expand Down