{asset name="Head"} {assign "linkFormat" "" } {assign var="SectionGroups" value=(isset($Groups) || isset($Group))} {assign var="TemplateCss" value=" {if $ThemeOptions.Options.hasHeroBanner} ThemeOptions-hasHeroBanner {/if} {if $ThemeOptions.Options.hasFeatureSearchbox} ThemeOptions-hasFeatureSearchbox {else} hideHomepageTitle {/if} {if $ThemeOptions.Options.panelToLeft} ThemeOptions-panelToLeft {/if} {if $User.SignedIn} UserLoggedIn {else} UserLoggedOut {/if} {if inSection('Discussion') and $Page gt 1} isNotFirstPage {/if} {if inSection('Group') && !isset($Group.Icon)} noGroupIcon {/if} locale-{$CurrentLocale.Lang} "}
{community_chooser buttonType='titleBarLink' buttonClass='Header-desktopCommunityChooser'}
{module name="MeModule" CssClass="FlyoutRight"}
{if $User.SignedIn} {/if}
{if $ThemeOptions.Options.hasHeroBanner && inSection(["CategoryList", "DiscussionList"])}
{if $heroImageUrl}
{/if}
{if $ThemeOptions.Options.hasFeatureSearchbox} {else} {if $Category}

{$Category.Name}{follow_button}

{$Category.Description}

{else} {if {homepage_title} !== ""}

{homepage_title}

{/if} {if $_Description}

{$_Description}

{/if} {/if} {/if}
{/if}
{if !$isHomepage}
{/if}
{if !$SectionGroups && !inSection(["SearchResults"])} {/if}
{if inSection("Profile")}
{module name="UserPhotoModule"}

{$Profile.Name|escape:'html'}

{if isset($Rank)} {$Rank.Label} {/if}
{/if} {asset name="Content"}
{event name="AfterBody"}