Skip to content

Latest commit

 

History

History

pagetemplate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

Template

Layout

Use @{body} placeholder to insert other template, only works for layout

Incoming data are available in the templates or layouts as model

Data:

{
	id: 123,
	title: 'Homepage'
}

Template:

<h1 class="post-@{model.id}">@{model.title}</h1>