doc/pages/02.apps/02.docs/docs.md

39 lines
668 B
Markdown
Raw Normal View History

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
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
---
Test
{% set test = read_file('/var/www/app_yunohost/apps/apps.json') %}
{{ test }}
{% for app in catalog %}
{{ 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>