% // In case we're displaying the 404 or 500 page and relevant code in the "custom" hook was not able to run, // we make sure certain view locals exist that are commonly used in this layout.ejs file. This ensures we // don't have to do `typeof` checks below. var me; var isHomepage; %>