feat: better automated generation of the education timeline
This commit is contained in:
parent
804b2d89fe
commit
fbb8b3d3e8
|
@ -128,14 +128,20 @@ permalink: "resume/{{ resume.locale }}/index.html"
|
||||||
<span class="arrow-up"></span>
|
<span class="arrow-up"></span>
|
||||||
<li class="event"></li>
|
<li class="event"></li>
|
||||||
|
|
||||||
<li class="year">{{ resume.education.history[0].end }}</li>
|
|
||||||
|
|
||||||
{% for edu in resume.education.history %}
|
{% for edu in resume.education.history %}
|
||||||
|
{% if edu.end != resume.education.history[loop.index - 2].start %}
|
||||||
|
{% if loop.index != 1 %}
|
||||||
|
<li class="event"></li>
|
||||||
|
{% endif %}
|
||||||
|
<li class="year">{{ edu.end }}</li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<li class="event">
|
<li class="event">
|
||||||
{{ edu.title }}<br>
|
{{ edu.title }}<br>
|
||||||
<a href="{{ edu.url }}">{{ edu.institution }}</a>
|
<a href="{{ edu.url }}">{{ edu.institution }}</a>
|
||||||
<br>{{ edu.eqv }}
|
<br>{{ edu.eqv }}
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="year">{{ edu.start }}</li>
|
<li class="year">{{ edu.start }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Reference in a new issue