unified project handling
This commit is contained in:
@@ -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') %}
|
||||
|
||||
@@ -115,11 +115,11 @@
|
||||
{{ macros.list_references(person.references) }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if person.projects|length > 0 %}
|
||||
|
||||
{% if projects|length > 0 %}
|
||||
<h3>{{ 'resume.headers.current_projects'|trans }}</h3>
|
||||
<ul>
|
||||
{{ macros.list_simple_array(person.projects) }}
|
||||
{{ macros.list_projects(projects) }}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user