% if (typeof staticSetup == "undefined") { /* Executing either PDF or HTML export. The staticSetup variable won't be available, so provide an empty dictionary as a workaround. */ staticSetup = {} } var title = staticSetup.siteName; if (typeof page != "undefined") { title = title + ": " + page.displayName(); } var isArchivePage = false; if (typeof pageContext != "undefined" && pageContext.objectForKey("renderLocation").isEqualToString("archive")) { isArchivePage = true; } %>