We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f1ca77 commit 4d117e5Copy full SHA for 4d117e5
material/plugins/search/plugin.py
@@ -45,7 +45,7 @@ def add_entry_from_context(self, page):
45
entry = self._entries[index]
46
47
# Add document tags
48
- if "tags" in page.meta:
+ if page.meta.get("tags"):
49
entry["tags"] = page.meta["tags"]
50
51
# Add document boost for search
src/plugins/search/plugin.py
0 commit comments