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>
30 lines
651 B
Plaintext
30 lines
651 B
Plaintext
{% comment %}
|
|
Unified interests entry renderer for both formats
|
|
{% endcomment %}
|
|
|
|
<div class="card-text font-weight-light">
|
|
{% for entry in entries %}
|
|
<div class="interest-item">
|
|
{% if entry.icon %}
|
|
<i class="{{ entry.icon }}"></i>
|
|
{% endif %}
|
|
<strong>{{ entry.name }}:</strong>
|
|
{% if entry.keywords %}
|
|
{% for keyword in entry.keywords %}
|
|
{% if forloop.last %}
|
|
{{ keyword }}
|
|
{% else %}
|
|
{{ keyword }},
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<style>
|
|
.interest-item {
|
|
padding: 0.5rem 0;
|
|
}
|
|
</style>
|