_data/theme.yml:

- Added configuration CV substitutions

_includes/cv/*.html:
 - Added theme substitutions
This commit is contained in:
Carsten Wiesbaum 2021-07-05 23:05:49 +02:00
parent e47c5ac128
commit 11a1163b23
11 changed files with 30 additions and 15 deletions

View File

@ -23,6 +23,21 @@ t:
of: "of" of: "of"
min_read: "min read" min_read: "min read"
present: "Present" present: "Present"
cv_awards: "Awards"
cv_summary_contact: "Contact"
cv_summary_contact_email: "Email"
cv_summary_contact_phone: "Phone"
cv_summary_contact_website: "Website"
cv_location: "Location"
cv_education: "Education"
cv_education_courses: "Courses"
cv_interests: "Interests"
cv_languages: "Languages"
cv_publications: "Publications"
cv_references: "References"
cv_skills: "Skills"
cv_volunteer: "Volunteer"
cv_work: "Work"
# Google Fonts # Google Fonts
google_fonts: google_fonts:

View File

@ -1,7 +1,7 @@
{% if cv.awards %} {% if cv.awards %}
<div id="awards" class="entry"> <div id="awards" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Awards</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_awards | default: 'Awards' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -6,18 +6,18 @@
<div id="contact" class="entry"> <div id="contact" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Contact</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_summary_contact | default: 'Contact' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">
{% if cv.basics.email %} {% if cv.basics.email %}
<div class="email"><strong>Email</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div> <div class="email"><strong>{{ site.data.theme.t.cv_summary_contact_email | default: 'Email' }}</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div>
{% endif %} {% endif %}
{% if cv.basics.phone %} {% if cv.basics.phone %}
<div class="phone"><strong>Phone</strong> {{ cv.basics.phone }}</div> <div class="phone"><strong>{{ site.data.theme.t.cv_summary_contact_phone | default: 'Phone' }}</strong> {{ cv.basics.phone }}</div>
{% endif %} {% endif %}
{% if cv.basics.website %} {% if cv.basics.website %}
<div class="website"><strong>Website</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div> <div class="website"><strong>{{ site.data.theme.t.cv_summary_contact_website | default: 'Website' }}</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div>
{% endif %} {% endif %}
{% if cv.basics.profiles %} {% if cv.basics.profiles %}
{% for p in cv.basics.profiles %} {% for p in cv.basics.profiles %}
@ -43,7 +43,7 @@
{% if cv.basics.location %} {% if cv.basics.location %}
<div id="location" class="entry"> <div id="location" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Location</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_location | default: 'Location' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.education %} {% if cv.education %}
<div id="education" class="entry"> <div id="education" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Education</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_education | default: 'Education' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">
@ -23,7 +23,7 @@
<div class="area"><strong>{{ e.area }}{% if e.studyType %}<span class="studyType">{{ e.studyType | prepend: ', ' }}</span>{% endif %}</strong>{% if e.gpa %}<span class="gpa">{{ e.gpa | prepend: ' (' | append: ' GPA)' }}</span>{% endif %}</div> <div class="area"><strong>{{ e.area }}{% if e.studyType %}<span class="studyType">{{ e.studyType | prepend: ', ' }}</span>{% endif %}</strong>{% if e.gpa %}<span class="gpa">{{ e.gpa | prepend: ' (' | append: ' GPA)' }}</span>{% endif %}</div>
{% endif %} {% endif %}
{% if e.courses %} {% if e.courses %}
<h5 class="courses-title">Courses</h5> <h5 class="courses-title">{{ site.data.theme.t.cv_education_courses | default: 'Courses' }}</h5>
<ul class="courses"> <ul class="courses">
{% for course in e.courses %} {% for course in e.courses %}
<li>{{ course }}</li> <li>{{ course }}</li>

View File

@ -1,7 +1,7 @@
{% if cv.interests %} {% if cv.interests %}
<div id="interests" class="entry"> <div id="interests" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Interests</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_interests | default: 'Interests' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.languages %} {% if cv.languages %}
<div id="languages" class="entry"> <div id="languages" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Languages</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_languages | default: 'Languages' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.publications %} {% if cv.publications %}
<div id="publications" class="entry"> <div id="publications" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Publications</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_publications | default: 'Publications' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.references %} {% if cv.references %}
<div id="references" class="entry"> <div id="references" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">References</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_references | default: 'References' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.skills %} {% if cv.skills %}
<div id="skills" class="entry"> <div id="skills" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Skills</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_skills | default: 'Skills' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.volunteer %} {% if cv.volunteer %}
<div id="volunteer" class="entry"> <div id="volunteer" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Volunteer</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_volunteer | default: 'Volunteer' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">

View File

@ -1,7 +1,7 @@
{% if cv.work %} {% if cv.work %}
<div id="work" class="entry"> <div id="work" class="entry">
<header class="entry-header"> <header class="entry-header">
<h3 class="entry-title">Work</h3> <h3 class="entry-title">{{ site.data.theme.t.cv_work | default: 'Work' }}</h3>
</header> </header>
<div class="entry-content"> <div class="entry-content">