mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
(Grav GitSync) Automatic Commit from yunohost-bot
This commit is contained in:
parent
1af15e0175
commit
2bbad1ac0f
3 changed files with 22 additions and 18 deletions
BIN
pages/02.apps/01.catalog/.apps.md.swp
Normal file
BIN
pages/02.apps/01.catalog/.apps.md.swp
Normal file
Binary file not shown.
|
@ -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
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue