- 1 core/modules/system/templates/header.tpl.php
- 1 core/themes/basis/templates/header.tpl.php
Display generic site information such as logo, site name, etc.
Available variables:
- $base_path: The base path of the Backdrop installation. At the very
least, this will always default to /.
- $directory: The directory the template is located in, e.g. modules/system
or themes/bartik.
- $is_front: TRUE if the current page is the home page.
- $logged_in: TRUE if the user is registered and signed in.
- $logo: The path to the logo image, as defined in theme configuration.
- $front_page: The URL of the home page. Use this instead of $base_path, when
linking to the home page. This includes the language domain or prefix.
- $site_name: The name of the site, empty when display has been disabled.
- $site_slogan: The site slogan, empty when display has been disabled.
- $menu: The menu for the header (if any), as an HTML string.
File
core/modules/system/templates/header.tpl.php