unified project handling

This commit is contained in:
2019-05-25 16:48:31 +02:00
parent 665e9eedc3
commit e9d20bee4f
3 changed files with 11 additions and 20 deletions

View File

@@ -19,6 +19,14 @@
{% endfor %}
{% endmacro %}
{% macro list_projects(projects, tag) %}
{% set tag = tag|default('li') %}
{% for project in projects %}
<{{ tag }}><em>{{ project.name }}:</em>
{{ project.shortDescription }}</{{ tag }}>
{% endfor %}
{% endmacro %}
{% macro list_link_array(entries, tag) %}
{% set tag = tag|default('li') %}