Skip to content

A free, self-hostable news aggregator…

Fix loading spin regression when no article (#8588)

Alexandre Alapetitea7dfd3c34b12
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index b3c3d1c86..d3a39a00c 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -166,6 +166,10 @@
<div id="first_load" class="loading"></div>
<?php flush(); ?>
+<template id="dynamic_favicon_base">
+ <?= file_get_contents(PUBLIC_PATH . '/themes/icons/favicon.svg') ?>
+</template>
+
<template id="tag_config_template">
<ul class="dropdown-menu">
<li class="item">
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index 21bde6569..c5523b42a 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -14,10 +14,6 @@ $useKeepUnreadImportant = !FreshRSS_Context::isImportant() && !FreshRSS_Context:
$today = @strtotime('today');
?>
-<template id="dynamic_favicon_base">
- <?= file_get_contents(PUBLIC_PATH . '/themes/icons/favicon.svg') ?>
-</template>
-
<datalist id="datalist-labels"></datalist>
<template id="share_article_template">