Extract into partials
This commit is contained in:
parent
5b138d5ebd
commit
4529c3e7ec
7 changed files with 40 additions and 38 deletions
8
source/_partials/experience/role.twig
Normal file
8
source/_partials/experience/role.twig
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="experience__role">
|
||||
{% spaceless %}
|
||||
{{ experience.role ~ ' from ' ~ experience.start ~ ' to ' ~ experience.end|default('Present') }}
|
||||
{% if experience.location %}
|
||||
({{ experience.location }})
|
||||
{% endif %}
|
||||
{% endspaceless %}.
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue