This component is used by most themes as the header of the site. The package interace for this component is called fpm.dev/header
.
header
include the header using this
-- import: fpm.dev/header
-- header.header:
logo: images/foo.png
The header supports the following features.
-- import: fpm.dev/header
-- header.header:
logo: images/foo.png
The header supports the following features.
Logo can be configured using fpm.site-logo
. Header automatically picks this value. Logo is optional, if logo is not given only site name is shown if present.
configuring logo in config.ftd
-- import: fpm
-- fpm.site-logo: images/logo.png
-- import: fpm
-- fpm.site-logo: images/logo.png
Site name can be specified in fpm.site-name
. This value is optional, it is shown only when it is present.
configuring logo in config.ftd
-- import: fpm
-- fpm.site-logo: images/logo.png
-- import: fpm
-- fpm.site-logo: images/logo.png