Fixes #2787 as an alternative to #2969. It was getting too cumbersome to have 2 different data sources for CV and also a lot of different layout files, so I decided to unify them all. Main changes: - synchronized the information inside RenderCV (`_data/cv.yml`) and JSONResume (`assets/json/resume.json`) - unified layout files for CV information - added the option to set the "data source" in the CV page --------- Signed-off-by: George Araújo <george.gcac@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
32 lines
924 B
Plaintext
32 lines
924 B
Plaintext
{% comment %}
|
|
Unified projects entry renderer for both formats
|
|
{% endcomment %}
|
|
|
|
<ul class="card-text font-weight-light list-group list-group-flush">
|
|
{% for entry in entries %}
|
|
<li class="list-group-item">
|
|
{% if entry.url %}
|
|
<h6 class="title font-weight-bold">
|
|
<a href="{{ entry.url }}" target="_blank">{{ entry.name }}</a>
|
|
</h6>
|
|
{% else %}
|
|
<h6 class="title font-weight-bold">{{ entry.name }}</h6>
|
|
{% endif %}
|
|
|
|
{% if entry.summary %}
|
|
<p>{{ entry.summary | markdownify | remove: '<p>' | remove: '</p>' }}</p>
|
|
{% endif %}
|
|
|
|
{% if entry.highlights %}
|
|
<ul class="items">
|
|
{% for item in entry.highlights %}
|
|
<li>
|
|
<span class="item">{{ item | markdownify | remove: '<p>' | remove: '</p>' }}</span>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|