diff --git a/nikola/plugins/task/authors.py b/nikola/plugins/task/authors.py index 3186a4528a..57c2594ec8 100644 --- a/nikola/plugins/task/authors.py +++ b/nikola/plugins/task/authors.py @@ -57,7 +57,11 @@ def set_site(self, site): def is_enabled(self, lang=None): """Return True if this taxonomy is enabled, or False otherwise.""" - return self.site.config["ENABLE_AUTHOR_PAGES"] + if not self.site.config["ENABLE_AUTHOR_PAGES"]: + return False + if lang is not None: + return self.generate_author_pages + return True def classify(self, post, lang): """Classify the given post for the given language."""