<@cms_file>
Obtain a list of file content details, use ${Data.intro} Obtain content details data
| Attribute | Type | Required | Available values | Description | Default |
|---|---|---|---|---|---|
| contentId | INTEGER | Yes | Content ID | ||
| page | BOOLEAN | No | true = Yes false = No | Do we need to use pagination? | false |
| Attribute | Description | Type |
|---|---|---|
| fileSize | File size, unit: bytes | Long |
| intro | File Introduction | String |
| path | File resource path | String |
| type | File types | String |
<!-- File Content Title -->
<h1>${Content.title}</h1>
<@cms_file contentid="${Content.contentId}">
<!-- File description -->
<dl>
<dt>File Type:${Data.type!'Unknown'}</dt>
<dt>File Size:${Data.fileSize!'-'}</dt>
</dl>
<div class="file-intro">
${dealArticleBody(Data.intro)}
</div>
<!-- Download link -->
<div class="download">
<a href="${Data.link}"
</div>
</@cms_file>