Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix error #126

wants to merge 1 commit into from

Conversation

godylockz
Copy link

No description provided.

@@ -104,7 +104,7 @@ def get_html_from_items(

# Support mkdocs-material tags
# See https://squidfunk.github.io/mkdocs-material/plugins/tags
if "tags" in item.meta:
if hasattr(item, "tags") and item.meta["tags"]:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

late to the party. Shouldn't this be:

Suggested change
if hasattr(item, "tags") and item.meta["tags"]:
if hasattr(item, "meta") and item.meta.get("tags"):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants