{if $is_embedded != true} {$head_title|default:$blogTitle}{if $head_subtitle} | {$head_subtitle}{/if} {if ($view == "entry" || $view == "start" || $view == "feed" || $view == "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')} {else} {/if} {if ($view == "entry")} {/if} {if ($view == "start")} {/if} {* BOOTSTRAP CORE CSS *} {* S9Y CSS *} {if $entry_id} {/if} {* CUSTOM FONTS *} {if $template_option.use_googlefonts} {/if} {serendipity_hookPlugin hook="frontend_header"} {* SUBHEADER IMAGE *} {if $template_option.subheader_img} {/if} {* ADDTIONAL COLORSET & SKIN STYLESHEETS - INCLUDED SETS ARE LOADED VIA CONFIG.INC.PHP *} {else} {serendipity_hookPlugin hook="frontend_header"} {/if} {if $is_raw_mode != true}
{if $template_option.use_corenav}
Skip to main content{* LANG? *} {* End Navbar *}
{/if}
{* End Header *}

{if $view == 'start' || $view == 'entry' || $view == '404' || $view == 'search' || ($head_title =='' && $head_subtitle=='')}{$blogDescription} {elseif $view == 'categories'}{$CONST.ENTRIES_FOR|sprintf:{$category_info.category_name|escape}} {elseif $view == 'authors' || $view == 'comments'}{$head_title} {elseif $staticpage_pagetitle !=''} {if $staticpage_headline}{$staticpage_headline|escape} {elseif $staticpage_articleformattitle}{$staticpage_articleformattitle|escape} {elseif $plugin_contactform_pagetitle}{$plugin_contactform_pagetitle} {else}{$head_title}{/if} {elseif $view == 'archives' && $category}{$head_title} - {$head_subtitle} {elseif $view == 'archive' && $category}{$category_info.category_name} - {$head_subtitle} {elseif $head_subtitle}{$head_subtitle} {/if}

{if $footer_totalPages >1 && !isset($staticpage_pagetitle)} {/if}
{* End subheader *} {* MAIN CONTENT *}
{if $view=='404'}

{$CONST.ERROR}

{$CONST.ERROR_404}

{* REMOVE INLINE STYLES *}
{serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"}
{else} {if !class_exists('serendipity_event_entryproperties')}
{$CONST.THEME_EP_NO}
{/if} {$CONTENT} {/if}
{if ($rightSidebarElements > 0 && $staticpage_pagetitle =='') || ($rightSidebarElements > 0 && $staticpage_pagetitle !='' && $staticpage_custom.show_sidebars != 'false')} {/if}
{* wrapper *} {/if} {$raw_data} {serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true} {/if}