Add education section entries
This commit is contained in:
@@ -21,6 +21,12 @@ module.exports = function (eleventyConfig) {
|
||||
.sort((a, b) => (Number(a.data.displayOrder) > Number(b.data.displayOrder) ? 1 : -1));
|
||||
});
|
||||
|
||||
eleventyConfig.addCollection('degrees', (collection) => {
|
||||
return collection
|
||||
.getFilteredByGlob('./src/portfolio/education/*.md')
|
||||
.sort((a, b) => (Number(a.data.displayOrder) < Number(b.data.displayOrder) ? 1 : -1));
|
||||
});
|
||||
|
||||
return {
|
||||
markdownTemplateEngine: "njk",
|
||||
dataTemplateEngine: "njk",
|
||||
@@ -30,4 +36,4 @@ module.exports = function (eleventyConfig) {
|
||||
output: "dist",
|
||||
},
|
||||
};
|
||||
};
|
||||
};
|
@@ -1,3 +1,27 @@
|
||||
<!doctype html>
|
||||
{% from "macros.html" import sectionHeading %}
|
||||
{{ sectionHeading("Education") }}
|
||||
{{ sectionHeading("Education") }}
|
||||
|
||||
{% for degree in collections.degrees %}
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<a href="{{ degree.data.degreeUrl }}" target="_blank">
|
||||
<img
|
||||
class="img-fluid mx-auto d-block"
|
||||
src="{{ degree.data.degreeLogo }}"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h2><b>{{ degree.data.schoolName }}</b></h2>
|
||||
<h3>{{ degree.data.degreeName }}</h3>
|
||||
<h4>{{ degree.data.schoolLocation }}</h4>
|
||||
<h5><i>{{ degree.data.startDate }} - {{ degree.data.endDate }}</i></h5>
|
||||
{{ degree.content | safe }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
13
src/portfolio/education/umich-1.md
Normal file
13
src/portfolio/education/umich-1.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayOrder: 1
|
||||
degreeUrl: "https://cse.engin.umich.edu"
|
||||
degreeLogo: "/assets/education/logo-computer-science.jpg"
|
||||
schoolName: "University of Michigan"
|
||||
degreeName: "B.S.E. in Computer Science"
|
||||
schoolLocation: "Ann Arbor, MI"
|
||||
startDate: "September 2016"
|
||||
endDate: "December 2020"
|
||||
---
|
||||
|
||||
**GPA:** 3.776
|
||||
**Focus:** Intelligent Systems
|
13
src/portfolio/education/umich-2.md
Normal file
13
src/portfolio/education/umich-2.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayOrder: 2
|
||||
degreeUrl: "https://me.engin.umich.edu"
|
||||
degreeLogo: "/assets/education/logo-mechanical-engineering.jpg"
|
||||
schoolName: "University of Michigan"
|
||||
degreeName: "B.S.E. in Mechanical Engineering"
|
||||
schoolLocation: "Ann Arbor, MI"
|
||||
startDate: "September 2016"
|
||||
endDate: "December 2020"
|
||||
---
|
||||
|
||||
**GPA:** 3.776
|
||||
**Focus:** Controls
|
13
src/portfolio/education/umich-3.md
Normal file
13
src/portfolio/education/umich-3.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
displayOrder: 3
|
||||
degreeUrl: "https://robotics.umich.edu"
|
||||
degreeLogo: "/assets/education/logo-robotics.png"
|
||||
schoolName: "University of Michigan"
|
||||
degreeName: "M.S. in Robotics"
|
||||
schoolLocation: "Ann Arbor, MI"
|
||||
startDate: "January 2021"
|
||||
endDate: "December 2021"
|
||||
---
|
||||
|
||||
**GPA:** 3.982
|
||||
**Focus:** Acting
|
Reference in New Issue
Block a user