diff --git a/_data/cv.yml b/_data/cv.yml
new file mode 100644
index 0000000..5b11572
--- /dev/null
+++ b/_data/cv.yml
@@ -0,0 +1,97 @@
+- title: General Information
+ type: map
+ contents:
+ - name: Full Name
+ value: Albert Einstein
+ - name: Date of Birth
+ value: 14th March 1879
+ - name: Languages
+ value: English, German
+
+- title: Education
+ type: time_table
+ contents:
+ - title: PhD
+ institution: University of Zurich, Zurich, Switzerland
+ year: 1905
+ description:
+ - Description 1.
+ - Description 2.
+ - title: Description 3.
+ contents:
+ - Sub-description 1.
+ - Sub-description 2.
+ - title: Federal teaching diploma
+ institution: Eidgenössische Technische Hochschule, Zurich, Switzerland
+ year: 1900
+ description:
+ - Description 1.
+ - Description 2.
+
+- title: Experience
+ type: time_table
+ contents:
+ - title: Professor of Theoretical Physics
+ institution: Institute for Advanced Study, Princeton University
+ year: 1933 - 1955
+ description:
+ - Description 1.
+ - Description 2.
+ - title: Description 3.
+ contents:
+ - Sub-description 1.
+ - Sub-description 2.
+ - title: Visiting Professor
+ institution: California Institute of Technology, Pasadena, California, US
+ year: 1933
+ description:
+ - Description 1.
+ - Description 2.
+
+ - title: Director
+ institution: Kaiser Wilhelm Institute for Physics, Berlin, Germany.
+ year: 1917-1933
+
+ - title: Professor of Theoretical Physics
+ institution: Karl-Ferdinand University, Prague, Czechoslovakia
+ year: 1911 - 1917
+ description:
+
+ - title: Associate Professor of Theoretical Physics
+ institution: University of Zurich, Zurich, Switzerland
+ year: 1909 - 1911
+
+- title: Open Source Projects
+ type: time_table
+ contents:
+ - title: al-folio
+ year: 2015-now
+ description: A beautiful, simple, clean, and responsive Jekyll theme for academics.
+
+- title: Honors and Awards
+ type: time_table
+ contents:
+ - year: 1921
+ items:
+ - Nobel Prize in Physics
+ - Matteucci Medal
+ - year: 2029
+ items:
+ - Max Planck Medal
+
+- title: Academic Interests
+ type: nested_list
+ contents:
+ - title: Topic 1.
+ items:
+ - Description 1.
+ - Description 2.
+ - title: Topic 2.
+ items:
+ - Description 1.
+ - Description 2.
+
+- title: Other Interests
+ type: list
+ contents:
+ - Hobbies: Hobby 1, Hobby 2, etc.
diff --git a/_includes/cv/list.html b/_includes/cv/list.html
new file mode 100644
index 0000000..7562585
--- /dev/null
+++ b/_includes/cv/list.html
@@ -0,0 +1,5 @@
+
+ {% for content in entry.contents %}
+ - {{ content }}
+ {% endfor %}
+
\ No newline at end of file
diff --git a/_includes/cv/map.html b/_includes/cv/map.html
new file mode 100644
index 0000000..e0d1983
--- /dev/null
+++ b/_includes/cv/map.html
@@ -0,0 +1,8 @@
+
+ {% for content in entry.contents %}
+
+ | {{ content.name }} |
+ {{ content.value }} |
+
+ {% endfor %}
+
\ No newline at end of file
diff --git a/_includes/cv/nested_list.html b/_includes/cv/nested_list.html
new file mode 100644
index 0000000..4778aca
--- /dev/null
+++ b/_includes/cv/nested_list.html
@@ -0,0 +1,14 @@
+
+ {% for content in entry.contents %}
+ -
+
{{ content.title }}
+ {% if content.items %}
+
+ {% for subitem in content.items %}
+ - {{ subitem }}
+ {% endfor %}
+
+ {% endif %}
+
+ {% endfor %}
+
\ No newline at end of file
diff --git a/_includes/cv/time_table.html b/_includes/cv/time_table.html
new file mode 100644
index 0000000..123b9d0
--- /dev/null
+++ b/_includes/cv/time_table.html
@@ -0,0 +1,59 @@
+
+ {% for content in entry.contents %}
+ -
+
+ {% if content.year %}
+
+
+ {{ content.year }}
+
+
+ {% endif %}
+
+ {% if content.title %}
+
{{content.title}}
+ {% endif %}
+ {% if content.institution %}
+
{{content.institution}}
+ {% endif %}
+ {% if content.description %}
+
+ {% for item in content.description %}
+ -
+ {% if item.contents %}
+ {{ item.title }}
+
+ {% for subitem in item.contents %}
+ - {{ subitem }}
+ {% endfor %}
+
+ {% else %}
+ {{ item }}
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+ {% if content.items %}
+
+ {% for item in content.items %}
+ -
+ {% if item.contents %}
+ {{ item.title }}
+
+ {% for subitem in item.contents %}
+ - {{ subitem }}
+ {% endfor %}
+
+ {% else %}
+ {{ item }}
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+
+
+
+ {% endfor %}
+
\ No newline at end of file
diff --git a/_layouts/cv.html b/_layouts/cv.html
new file mode 100644
index 0000000..bb3d85a
--- /dev/null
+++ b/_layouts/cv.html
@@ -0,0 +1,35 @@
+---
+layout: default
+---
+
+
+
+
+
+
+
+ {% for entry in site.data.cv %}
+
+
{{ entry.title }}
+
+ {% if entry.type == "list" %}
+ {% include cv/list.html %}
+ {% elsif entry.type == "map" %}
+ {% include cv/map.html %}
+ {% elsif entry.type == "nested_list" %}
+ {% include cv/nested_list.html %}
+ {% elsif entry.type == "time_table" %}
+ {% include cv/time_table.html %}
+ {% else %}
+ {{ entry.contents }}
+ {% endif %}
+
+
+ {% endfor %}
+
+
+
+
diff --git a/_pages/cv.md b/_pages/cv.md
new file mode 100644
index 0000000..d879c1f
--- /dev/null
+++ b/_pages/cv.md
@@ -0,0 +1,8 @@
+---
+layout: cv
+permalink: /cv/
+title: cv
+nav: true
+nav_order: 3
+cv_pdf: example_pdf.pdf
+---
diff --git a/_pages/dropdown.md b/_pages/dropdown.md
index caef522..4a8a805 100644
--- a/_pages/dropdown.md
+++ b/_pages/dropdown.md
@@ -2,7 +2,7 @@
layout: page
title: submenus
nav: true
-nav_order: 3
+nav_order: 5
dropdown: true
children:
- title: publications
diff --git a/_pages/projects.md b/_pages/projects.md
index 7e89b00..0ae8816 100644
--- a/_pages/projects.md
+++ b/_pages/projects.md
@@ -4,7 +4,7 @@ title: projects
permalink: /projects/
description: A growing collection of your cool projects.
nav: true
-nav_order: 1
+nav_order: 2
display_categories: [work, fun]
horizontal: false
---
diff --git a/_pages/publications.md b/_pages/publications.md
index fac13f1..fa76cd4 100644
--- a/_pages/publications.md
+++ b/_pages/publications.md
@@ -5,7 +5,7 @@ title: publications
description: publications by categories in reversed chronological order. generated by jekyll-scholar.
years: [1956, 1950, 1935, 1905]
nav: true
-nav_order: 2
+nav_order: 1
---
diff --git a/_pages/teaching.md b/_pages/teaching.md
index 6d5eda3..1a6c5be 100644
--- a/_pages/teaching.md
+++ b/_pages/teaching.md
@@ -4,7 +4,7 @@ permalink: /teaching/
title: teaching
description: Materials for courses you taught. Replace this text with your description.
nav: true
-nav_order: 2
+nav_order: 4
---
For now, this page is assumed to be a static description of your courses. You can convert it to a collection similar to `_projects/` so that you can have a dedicated page for each course.
diff --git a/_sass/_base.scss b/_sass/_base.scss
index d215212..ad1586e 100644
--- a/_sass/_base.scss
+++ b/_sass/_base.scss
@@ -13,12 +13,12 @@ hr {
}
table {
- td, th {
- color: var(--global-text-color);
- }
- td {
- font-size: 1rem;
- }
+ td, th {
+ color: var(--global-text-color);
+ }
+ td {
+ font-size: 1rem;
+ }
}
a, table.table a {
@@ -282,6 +282,25 @@ footer.sticky-bottom {
font-size: 0.9rem;
}
+// CV
+
+.cv {
+ margin-bottom: 40px;
+
+ .card {
+ background-color: var(--global-card-bg-color);
+ border: 1px solid var(--global-divider-color);
+
+ .list-group-item {
+ background-color: inherit;
+
+ .badge {
+ color: var(--global-card-bg-color) !important;
+ background-color: var(--global-theme-color) !important;
+ }
+ }
+ }
+}
// Blog