From 3a009798ae723e1695b8e4b4bca9ecb369691e69 Mon Sep 17 00:00:00 2001 From: Peter Anderson Date: Sun, 22 Dec 2019 22:32:07 +0200 Subject: [PATCH] Issue #2: Fix missing RSS feed icon. --- on_the_web.theme.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/on_the_web.theme.inc b/on_the_web.theme.inc index 2b3c6e0..9810343 100644 --- a/on_the_web.theme.inc +++ b/on_the_web.theme.inc @@ -43,7 +43,12 @@ function theme_on_the_web_item($variables) { // Add the font awesome icon classes with support for v5. $icon_classes = array($icon, 'fa-fw'); if (module_exists('font_awesome') && config_get('font_awesome.settings', 'fontawesome') == 'v5') { - $icon_classes[] = 'fab'; + if ($service == 'rss') { + $icon_classes[] = 'fas'; + } + else { + $icon_classes[] = 'fab'; + } } else { $icon_classes[] = 'fa';