Contents
Syntax
The syntax for
content{options}
@content{options}
Description
The
Options
The following options are available for
option | description |
---|---|
inject output of content file parsed with |
|
inject output of content file parsed with |
|
inject content file as raw text | |
inject content file only if it exists (normally throws an error otherwise) | |
do not indent | |
option | description |
n++ example
Examples of
- <html>
- <head>
- @input("template/head.content")
- </head>
- <body>
- @content
- </body>
- </html>
- <html>
- <head>
- @input("template/head.content")
- </head>
- <body>
- @content{if-exists}
- </body>
- </html>