You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
504 B
20 lines
504 B
6 years ago
|
<h1>Index of all content</h1>
|
||
|
{% for f in get_file_list('*', sort_order='file_name') %}
|
||
|
<a href="{{ get_file_name(f['file_name']) }}">{{get_file_name(f['file_name'])}}</a>
|
||
|
{% endfor %}
|
||
|
|
||
|
<p>Including foo.cont.meta:
|
||
|
<pre>
|
||
|
{{ get_file_content('foo.cont.meta') }}
|
||
|
</pre>
|
||
|
</p>
|
||
|
|
||
|
<h1>Metadata</h1>
|
||
|
<table class="metadata">
|
||
|
<tr><th>key</th><th>value</th></tr>
|
||
|
{% set metadata = get_file_metadata('foo.cont') %}
|
||
|
{% for k in metadata.keys() %}
|
||
|
<tr><td>{{k}}</td><td>{{metadata[k]}}</td></tr>
|
||
|
{% endfor %}
|
||
|
</table>
|