Home
Author Manual
Themes Guide
Development

Common Header Component

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.
configuring logo in config.ftd
-- import: fpm

-- fpm.site-logo: images/logo.png

Site Name
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