Build the full-width page banner shown below the sticky site header on every page.
The banner image (banner.webp / banner.jpg) is 1200×400. CSS renders it with
object-fit: cover; object-position: center so the middle 80% of the image is
always visible and the uninteresting top/bottom 10% may be cropped.
Parameters
pathPrefix: string
Asset path prefix: '' for root pages, '../' for news/ pages.
Build the full-width page banner shown below the sticky site header on every page.
The banner image (
banner.webp/banner.jpg) is 1200×400. CSS renders it withobject-fit: cover; object-position: centerso the middle 80% of the image is always visible and the uninteresting top/bottom 10% may be cropped.