(Grav GitSync) Automatic Commit from yunohost-bot

This commit is contained in:
yunohost-bot 2021-02-07 20:05:03 +00:00 committed by Yunohost-Bot
parent 1af15e0175
commit 2bbad1ac0f
3 changed files with 22 additions and 18 deletions

Binary file not shown.

View file

@ -160,6 +160,28 @@ Custom CSS for this page
/*===============================================*/ /*===============================================*/
</style> </style>
{% set catalog = read_file('/var/www/app_yunohost/apps/apps.json')|json_decode(true) %}
{% for app, infos in catalog %}
{{ app }}
{{ infos }}
{% endfor %}
<!-- <!--
App card template App card template
--> -->

View file

@ -11,26 +11,8 @@ content:
twig_first: true twig_first: true
process: process:
twig: true twig: true
debugger:
enabled: true # Enable Grav debugger and following settings
shutdown:
close_connection: true
twig:
debug: true
errors:
display: true
--- ---
Test
{% set test = '/var/www/app_yunohost/apps/apps.json'|get_file_content %}
{{ test }}
{% for app in catalog %}
{{ app }}
{% endfor %}
<ul> <ul>
{% for p in page.collection %} {% for p in page.collection %}
<li><a href="{{ p.url }}">{{ p.title|e }}</a></li> <li><a href="{{ p.url }}">{{ p.title|e }}</a></li>