From 0a13ae1dcd2079fc26ba55787d07863c211ce69a Mon Sep 17 00:00:00 2001 From: bedroesb Date: Wed, 14 Dec 2022 16:48:29 +0100 Subject: [PATCH] hotfix --- lib/elixir-toolkit-theme-plugins/tool_tag.rb | 5 +++-- lib/elixir-toolkit-theme-plugins/version.rb | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/elixir-toolkit-theme-plugins/tool_tag.rb b/lib/elixir-toolkit-theme-plugins/tool_tag.rb index 9dc2d14..00eed93 100644 --- a/lib/elixir-toolkit-theme-plugins/tool_tag.rb +++ b/lib/elixir-toolkit-theme-plugins/tool_tag.rb @@ -17,8 +17,9 @@ def load_tools def render(context) tool = find_tool(context[@content.strip]) - tags = create_tags(tool["registry"]) - + if tool["registry"] + tags = create_tags(tool["registry"]) + end %Q{