[[if parser.HTMLContext.docType='html']] [[else]] [[endif]] [[=writeCodeInjectionEarlyHead]] [[if parser.currentPage.windowTitle]] [[else]] [[if !parser.HTMLContext.isForEditing]] [[=&parser.currentPage.comboTitleText]][[endif2]][[comment Leave out while editing otherwise changing the title reloads the page]] [[endif]] [[if master.author]] [[endif]] [[if keywords]] [[endif]] [[if metaDescription]] [[endif]] [[=parser.context.disableChangeTracking]] [[=parser.context.enableChangeTracking]] [[if parser.HTMLContext.isForPublishing]][[if currentContext.canWriteProMarkup]][[if site.googleSiteVerification]] [[=site.googleSiteVerification]] [[endif3]][[endif2]][[endif]] [[if !parser.HTMLContext.isForEditing]][[if master.faviconMedia||master.faviconType==-1]] [[endif2]][[endif]] [[if !parser.HTMLContext.isForEditing]][[if feedURL]] [[endif2]][[endif]] [[if URLForThumbnailRel]] [[=writeThumbnailRel]] [[endif]] [[if !parser.HTMLContext.isForEditing]] [[endif]] [[if parser.includeStyling]] [[=writeGoogleFontLoader]] [[=writeStylesheetLinks]] [[endif]] [[=writeExtraHeadersAndScriptsAndCodeInjection]] [[if parser.HTMLContext.isForPublishing]][[if currentContext.canWriteProMarkup]][[if site.googleAnalyticsCode]] [[=site.googleAnalyticsCode]] [[endif3]][[endif2]][[endif]]
[[=writeCodeInjectionBodyTagStart]] [[=parser.HTMLContext.writeBodyStart]]
[[if isRootPage]] [[if !master.logo.hidden]] [[=master.logo.writeHTML]] [[endif2]] [[if master.siteTitle.hidden]]

# [[=master.siteTitleHTMLString]]

[[else2]] [[if master.siteTitle]] [[textblock property:master.siteTitle flags:"line" tag:h1 placeholder:"Site Title" class:"title"]] [[endif3]] [[endif2]] [[else]] [[if !master.logo.hidden]] [[=master.logo.writeHTML]] [[endif2]] [[if master.siteTitle.hidden]][[comment WE HAVE TO QUERY ROOT - THE PROPERTY IS NOT OPTIONAL PER PAGE.]]

# [[=master.siteTitleHTMLString]]

[[else2]] [[if master.siteTitle]][[textblock property:master.siteTitle flags:"line" tag:h1 hyperlink:site.rootPage class:"title"]][[endif3]] [[endif2]] [[endif]] [[if !master.siteSubtitle.hidden]] [[textblock property:master.siteSubtitle flags:"line" tag:p id:tagline placeholder:"Site Tagline"]] [[endif]]
[[=writeSiteMenu]]
[[if showSidebar]] [[=sidebar.writeHTML]][[endif]]
[[=writeMainContent]]
[[if !master.footer.hidden]][[textblock property:master.footer flags:"line" placeholder:"Footer"]][[endif]]
[[`backToTopTitleHTML]][[`backToTopLinkHTML]]
[[=writeInitialEndBodyScripts]] [[=parser.HTMLContext.writeEndBodyString]] [[=writeCodeInjectionBodyTagEnd]] [[if parser.HTMLContext.isForQuickLookPreview]]

[['Published to]] | [[if site.hostProperties.siteURL]][[=&site.hostProperties.siteURL]][[else2]][['<>]][[endif2]]
[['Last updated]] | [[=&site.currentDate]]
[[if master.author]]
[['Author]] | [[=&master.author]]
[[endif2]]
[['Language]] | [[=&parser.HTMLContext.language]]
[['Pages]] | [[=site.pageCount]]

[[endif]]