-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.njk
40 lines (39 loc) · 1.28 KB
/
template.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# {{content.name}}
## {{content.title}}
{% for contact in contacts -%}{# ---------- contacts ---------- #}
{{-contact.type}}: {% if contact.url and contact.text %}[{{contact.text}}]({{contact.url}})
{% elseif contact.url %}[{{contact.url}}]({{contact.url}})
{% else %}{{contact.text}}
{% endif %}
{%- endfor -%}
{{i18n.location}}: {{content.location}}
{{i18n.birthYear}}: {{content.birthYear}}
{{content.info}}
{# ---------- skills ---------- #}
# {{i18n.skills-}}
{% set nl = joiner("\n") %}{% for skill in content.skills %}
{{ nl() }}## {{skill.area}}
{%- for detail in skill.details %}
- {{detail}}
{%- endfor %}
{%- endfor %}
{% if content.experience %}{# ---------- experience ---------- #}
# {{i18n.experience-}}
{% set nl = joiner("\n") %}{% for exp in content.experience %}
{{ nl() }}_{{exp.period}}{% if exp.type %} ({{exp.type}}){% endif %}_
**{{exp.company}}**
[{{exp.url}}]({{exp.url}})
{{exp.description}}
{%- for detail in exp.details %}
- {{detail}}
{%- endfor %}
{%- endfor %}
{%- endif %}
{% if content.education %}{# ---------- education ---------- #}
# {{i18n.education-}}
{% set nl = joiner("\n") %}{% for edu in content.education %}
{{ nl() }}_{{edu.period}}_
**{{edu.name}}**
{{edu.speciality}}, {{edu.level}}, {{edu.qualification}}.
{%- endfor %}
{%- endif %}