diff --git a/alchemy/templates/include/header.html b/alchemy/templates/include/header.html index 517c0ff..791d28a 100644 --- a/alchemy/templates/include/header.html +++ b/alchemy/templates/include/header.html @@ -5,7 +5,7 @@ } -%} {%- if icon in fa_special_icons -%} {{ fa_special_icons[icon] }} -{%- elif icon.startswith("fa") -%} +{%- elif icon.split()|select("in", ["fab", "fas", "far", "fal", "fad"])|list -%} {{ icon }} {%- else -%} fab fa-{{icon}}