2020-11-14 14:14:50 +01:00
|
|
|
---
|
|
|
|
content:
|
|
|
|
order:
|
|
|
|
by: basename
|
|
|
|
dir: asc
|
|
|
|
pagination: false
|
|
|
|
url_taxonomy_filters: true
|
|
|
|
items:
|
|
|
|
- '@self.children'
|
|
|
|
- '@taxonomy.category': [docs, apps]
|
|
|
|
twig_first: true
|
|
|
|
process:
|
|
|
|
twig: true
|
2021-02-07 19:33:49 +01:00
|
|
|
debugger:
|
|
|
|
enabled: true # Enable Grav debugger and following settings
|
|
|
|
shutdown:
|
|
|
|
close_connection: true
|
|
|
|
twig:
|
|
|
|
debug: true
|
|
|
|
errors:
|
|
|
|
display: true
|
2020-11-14 14:14:50 +01:00
|
|
|
---
|
|
|
|
|
2021-02-07 19:33:49 +01:00
|
|
|
Test
|
|
|
|
|
2021-02-07 19:50:25 +01:00
|
|
|
{% set test = read_file('/var/www/app_yunohost/apps/apps.json') %}
|
2021-02-07 19:33:49 +01:00
|
|
|
|
|
|
|
{{ test }}
|
|
|
|
|
2021-02-07 19:50:25 +01:00
|
|
|
{% for app in catalog %}
|
2021-02-07 19:33:49 +01:00
|
|
|
{{ app }}
|
|
|
|
{% endfor %}
|
|
|
|
|
2020-11-14 14:14:50 +01:00
|
|
|
<ul>
|
|
|
|
{% for p in page.collection %}
|
|
|
|
<li><a href="{{ p.url }}">{{ p.title|e }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|