Frank Hochmuth 77261028bc
Update header.tpl
Logic changed to: if feed plugin is deactivated, the feed buttons are displayed in the header. It is unlikely that the FlatPress user wants the buttons in the head and in the menu bar to be displayed at the same time. If the FlaPress user uses a different theme, he can still activate the plugin/widget.
2024-02-06 21:09:06 +01:00

23 lines
1.0 KiB
Smarty
Executable File

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{$fp_config.locale.lang}">
<head>
<title>{$flatpress.title|tag:wp_title:'&laquo;'}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$flatpress.charset}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{action hook=wp_head}
</head>
<body>
<div id="body-container">
<div id="head">
{if not function_exists('plugin_feed_head')}
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:atom" title="{$lang.main.atom}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/atom-white.png" alt="atom-feed"></a>
<a href="{$smarty.const.BLOG_BASEURL}?x=feed:rss2" title="{$lang.main.rss}" target="_blank"><img class="feed" src="{$smarty.const.BLOG_BASEURL}fp-content/images/rss-white.png" alt="rss-feed"></a>
{/if}
<h1><a href="{$smarty.const.BLOG_BASEURL}">{$flatpress.title}</a></h1>
<p class="subtitle">{$flatpress.subtitle}</p>
</div> <!-- end of #head -->
<div id="outer-container">