-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add some Schema.org metadata - Improve the "non-exhaustive" display of the "Job experience" part - SVG icons of the "about" block are now a bit smaller on the PDF version - Better code semantics in "theme.py" - Some new djLint rules
- Loading branch information
1 parent
441a703
commit b857c7a
Showing
23 changed files
with
160 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{% load myresume_tags %} | ||
|
||
<section> | ||
{% svg_icon "hobbies" classes="size-8" %} | ||
{% svg_icon "hobbies" classes="size-8 print:size-6" %} | ||
{% about_section_title i18n_data.hobbies.title %} | ||
<p itemprop="knowsAbout">{{ i18n_data.hobbies.content }}</p> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{% load myresume_tags %} | ||
|
||
<section> | ||
{% svg_icon "teaching" classes="size-8" %} | ||
{% svg_icon "teaching" classes="size-8 print:size-6" %} | ||
{% about_section_title i18n_data.teaching.title %} | ||
<p>{{ i18n_data.teaching.content|safe }}</p> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,41 @@ | ||
{% extends "myresume/main/_base_section.html" %} | ||
|
||
{% load myresume_tags %} | ||
|
||
{% block title %} | ||
{% main_section_title i18n_data.captions.job_experience icon="job-experience" print_suffix=i18n_data.misc.non_exhaustive_list %} | ||
{% main_section_title i18n_data.captions.job_experience icon="job-experience" %} | ||
{% endblock title %} | ||
|
||
{% block content %} | ||
<ul class="pl-4 pr-1 list-disc sm:pr-0 print:text-sm print:pl-4"> | ||
{% for job in jobs_data.jobs %} | ||
<li class="mb-1 text-justify {% if job.not_on_pdf %}print:hidden{% endif %}"> | ||
<li class="mb-1 text-justify | ||
{% if job.not_on_pdf %}print:hidden{% endif %}" | ||
{% if job.organisation %} | ||
itemscope itemtype="https://schema.org/Organization" itemprop=" | ||
{% if job.current %} | ||
worksFor | ||
{% else %} | ||
alumniOf | ||
{% endif %} | ||
" | ||
{% endif %}> | ||
{% if job.organisation %} | ||
<meta itemprop="name" content="{{ job.organisation.name }}" /> | ||
{% if job.organisation.url %} | ||
<meta itemprop="url" content="{{ job.organisation.url }}" /> | ||
{% endif %} | ||
{% endif %} | ||
<span class="font-bold">{{ job.period }}:</span> | ||
<span class="*:decoration-dotted *:underline-offset-2">{{ job.content|processed_job_content|safe }}</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<div class="hidden my-1 font-semibold italic {% theme element_id="HIGHLIGHT" %} print:!block"> | ||
⇒ {{ i18n_data.misc.exhaustive_list_link }} | ||
<a href="https://www.linkedin.com{{ bio_data.linked_in }}" | ||
class="underline" | ||
target="_blank" | ||
rel="noopener">LinkedIn</a> | ||
</div> | ||
{% endblock content %} |
6 changes: 3 additions & 3 deletions
6
myresume/templates/myresume/main/tags/main_section_title.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{% load myresume_tags %} | ||
|
||
<h3 class="flex items-center text-3xl my-3 text-bold {% theme element_id="MAIN_SECTION_TITLE" %} md:-ml-2 md:text-4xl print:!text-lg print:!mt-2 print:!mb-1"> | ||
<span class="size-10 aspect-square mr-2 flex justify-center items-center rounded-full {% theme element_id="MAIN_SECTION_TITLE_ICON" %} print:!size-6 print:!mr-1"> | ||
{% svg_icon icon classes="size-6 print:!size-4" %} | ||
<span class="size-10 aspect-square mr-2 flex justify-center items-center rounded-full {% theme element_id="MAIN_SECTION_TITLE_ICON" %} print:!size-8"> | ||
{% svg_icon icon classes="size-6 print:!size-5" %} | ||
</span> | ||
{{ title }} | ||
{{ print_suffix }} | ||
</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{% load myresume_tags %} | ||
|
||
<span class="flex"> | ||
<img src="{{ icon_url }}" | ||
alt="" | ||
class="size-6 mr-2" | ||
width="24" | ||
height="24"> | ||
{% if url %} | ||
<a href="{{ url }}" class="underline" target="_blank" rel="noopener">{{ title }}</a> | ||
<a href="{{ url }}" class="underline" target="_blank" rel="noopener"> | ||
{% tech_with_schema title=title url=url %} | ||
</a> | ||
{% else %} | ||
{{ title }} | ||
{% tech_with_schema title=title %} | ||
{% endif %} | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.