Skip to content

Template syntax

Ulugbek Nuriddinov edited this page Dec 10, 2021 · 2 revisions

Template Syntax

Below you can find useful variables. Use them to develop your theme quickly and easily!

Default variables

{{ $base_url }} - Base URL

{{ $base_path }} - Base path

{{ $assets_url }} - Assets URL

{{ $file }} - File path

{{ $file_name }} - File name

{{ $content }} - Content in layout

{{ $load:css }} - CSS files in layout

{{ $load:js }} - JS files in layout

Include html file

<fkit include="components/form" propName="propValue" />

Include section html file

<fkit section="header" propName="propValue" />

Set layout

<fkit layout="default" propName="propValue" />