[docs] add examples for static files liquid metadata

This commit is contained in:
Frank Taillandier 2016-08-27 10:06:29 +02:00
parent 326332a5d5
commit 349569592e
No known key found for this signature in database
GPG Key ID: E73258E3F50AEB7E
1 changed files with 10 additions and 2 deletions

View File

@ -26,7 +26,7 @@ following metadata:
<td><p><code>file.path</code></p></td>
<td><p>
The relative path to the file.
The relative path to the file, e.g <code>/assets/img/image.jpg</code>
</p></td>
</tr>
@ -34,7 +34,15 @@ following metadata:
<td><p><code>file.modified_time</code></p></td>
<td><p>
The `Time` the file was last modified.
The `Time` the file was last modified, e.g <code>2016-04-01 16:35:26 +0200</code>
</p></td>
</tr>
<tr>
<td><p><code>file.name</code></p></td>
<td><p>
The string name of the file without the extension, e.g. <code>image</code> for <code>image.jpg</code>
</p></td>
</tr>