Basic Header

Package name:
fifthtry.github.io/header
License:
Open Source BSD
Example
Documentation
Basic Header
-- header can be used as header on your fastn web projects.
Package Name:
fifthtry.github.io/header

Overview

The header component is already included inside doc-site. If you are using doc-site then don't add header as fastn dependency.

How to use?

Add header dependency into your FASTN.ftd
-- fastn.dependency: fifthtry.github.io/header
Import header into your .ftd file
-- import: fifthtry.github.io/header

-- header.header:
sections: $header.sitemap.sections
site-url: /docs/
site-name: Basic Header

Properties:

Below are details of all properties of this component.
sections
It's used to show fastn.sitemap sections.
site-url
It’s used to add a site link to your site homepage.
site-name
It’s used to add a site name to header component.

Properties at a glance:

Below table shows all properties and its default types of this component.
Property name
Type
Default / Optional
sections
List of Record (fastn.sitemap - sections)
Default
site-url
String
Optional
site-name
String
Optional
Copyright © 2023 - FifthTry