styles

Page-level stylesheets to load after the site-level styles. Each entry is an object that describes the <link> tag to render.

PropertyDetails
Type{url: string, cache?: boolean}[]
Accepted values
  • url (string, required) — path or URL to the stylesheet
  • cache (boolean, optional) — appends ?v=<timestamp> to bust the browser cache

Replaces the deprecated page_css_file parameter.

Example

styles:
  - url: "/css/page-specific.css"
    cache: true
  - url: "https://cdn.example.org/widget.css"

Front Matter