PageFactory (Kirby Plugin)

Css()

Renders a <link> tag for loading a CSS file → to be used in the <head> tag

css()

Renders a <link> tag for given CSS file.

Arguments

file
(default: false)

Example

{{ css( file: '~assets/css/-my.css') }}

Output

<link href="/KirbyApps/Pfy-Doc/media/pages/assets/css/1423978ceb-1730812330/-my.css" rel="stylesheet">

PageFactory