Skip to content

Commit 3e7519d

Browse files
authored
Merge pull request #126 from godylockz/master
Fix error
2 parents c64dc03 + 22bed60 commit 3e7519d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocs_print_site_plugin/renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_html_from_items(
104104

105105
# Support mkdocs-material tags
106106
# See https://squidfunk.github.io/mkdocs-material/plugins/tags
107-
if "tags" in item.meta:
107+
if hasattr(item, "meta") and item.meta.get("tags"):
108108
tags = item.meta["tags"]
109109
tags_html = "<nav class='md-tags'>"
110110
for tag in tags:

0 commit comments

Comments
 (0)