Skip to content

Commit 330cff4

Browse files
authored
Merge pull request #145 from CWiesbaum:cv-substitutions
Added CV Substitutions
2 parents 3f44ee7 + 11a1163 commit 330cff4

File tree

11 files changed

+30
-15
lines changed

11 files changed

+30
-15
lines changed

_data/theme.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ t:
2323
of: "of"
2424
min_read: "min read"
2525
present: "Present"
26+
cv_awards: "Awards"
27+
cv_summary_contact: "Contact"
28+
cv_summary_contact_email: "Email"
29+
cv_summary_contact_phone: "Phone"
30+
cv_summary_contact_website: "Website"
31+
cv_location: "Location"
32+
cv_education: "Education"
33+
cv_education_courses: "Courses"
34+
cv_interests: "Interests"
35+
cv_languages: "Languages"
36+
cv_publications: "Publications"
37+
cv_references: "References"
38+
cv_skills: "Skills"
39+
cv_volunteer: "Volunteer"
40+
cv_work: "Work"
2641

2742
# Google Fonts
2843
google_fonts:

_includes/cv/awards.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.awards %}
22
<div id="awards" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Awards</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_awards | default: 'Awards' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/basics.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66

77
<div id="contact" class="entry">
88
<header class="entry-header">
9-
<h3 class="entry-title">Contact</h3>
9+
<h3 class="entry-title">{{ site.data.theme.t.cv_summary_contact | default: 'Contact' }}</h3>
1010
</header>
1111

1212
<div class="entry-content">
1313
{% if cv.basics.email %}
14-
<div class="email"><strong>Email</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div>
14+
<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>
1515
{% endif %}
1616
{% if cv.basics.phone %}
17-
<div class="phone"><strong>Phone</strong> {{ cv.basics.phone }}</div>
17+
<div class="phone"><strong>{{ site.data.theme.t.cv_summary_contact_phone | default: 'Phone' }}</strong> {{ cv.basics.phone }}</div>
1818
{% endif %}
1919
{% if cv.basics.website %}
20-
<div class="website"><strong>Website</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div>
20+
<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>
2121
{% endif %}
2222
{% if cv.basics.profiles %}
2323
{% for p in cv.basics.profiles %}
@@ -43,7 +43,7 @@ <h3 class="entry-title">Contact</h3>
4343
{% if cv.basics.location %}
4444
<div id="location" class="entry">
4545
<header class="entry-header">
46-
<h3 class="entry-title">Location</h3>
46+
<h3 class="entry-title">{{ site.data.theme.t.cv_location | default: 'Location' }}</h3>
4747
</header>
4848

4949
<div class="entry-content">

_includes/cv/education.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.education %}
22
<div id="education" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Education</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_education | default: 'Education' }}</h3>
55
</header>
66

77
<div class="entry-content">
@@ -23,7 +23,7 @@ <h4 class="institution">{{ e.institution }}</h4>
2323
<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>
2424
{% endif %}
2525
{% if e.courses %}
26-
<h5 class="courses-title">Courses</h5>
26+
<h5 class="courses-title">{{ site.data.theme.t.cv_education_courses | default: 'Courses' }}</h5>
2727
<ul class="courses">
2828
{% for course in e.courses %}
2929
<li>{{ course }}</li>

_includes/cv/interests.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.interests %}
22
<div id="interests" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Interests</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_interests | default: 'Interests' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/languages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.languages %}
22
<div id="languages" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Languages</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_languages | default: 'Languages' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/publications.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.publications %}
22
<div id="publications" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Publications</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_publications | default: 'Publications' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/references.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.references %}
22
<div id="references" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">References</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_references | default: 'References' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/skills.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.skills %}
22
<div id="skills" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Skills</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_skills | default: 'Skills' }}</h3>
55
</header>
66

77
<div class="entry-content">

_includes/cv/volunteer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if cv.volunteer %}
22
<div id="volunteer" class="entry">
33
<header class="entry-header">
4-
<h3 class="entry-title">Volunteer</h3>
4+
<h3 class="entry-title">{{ site.data.theme.t.cv_volunteer | default: 'Volunteer' }}</h3>
55
</header>
66

77
<div class="entry-content">

0 commit comments

Comments
 (0)