forked from robert/robertjohnson.work
Added _data folder in order to became easier to change profile information
It was also added Education as a variable and now its easier to make it appear or not as well to change information on educations.yml
This commit is contained in:
parent
6ba0a2447f
commit
a0349345d5
8
_data/educations.yml
Normal file
8
_data/educations.yml
Normal file
@ -0,0 +1,8 @@
|
||||
- education:
|
||||
degree: MSc in Computer Science
|
||||
university: University of London
|
||||
time: 2011 - 2012
|
||||
- education:
|
||||
degree: BSc in Applied Mathematics
|
||||
university: Bristol University
|
||||
time: 2007 - 2011
|
@ -1,13 +1,15 @@
|
||||
<div class="education-container container-block">
|
||||
<h2 class="container-block-title">Education</h2>
|
||||
<div class="item">
|
||||
<h4 class="degree">MSc in Computer Science</h4>
|
||||
<h5 class="meta">University of London</h5>
|
||||
<div class="time">2011 - 2012</div>
|
||||
</div><!--//item-->
|
||||
<div class="item">
|
||||
<h4 class="degree">BSc in Applied Mathematics</h4>
|
||||
<h5 class="meta">Bristol University</h5>
|
||||
<div class="time">2007 - 2011</div>
|
||||
</div><!--//item-->
|
||||
</div><!--//education-container-->
|
||||
{% if site.data.educations %}
|
||||
<div class="education-container container-block">
|
||||
|
||||
<h2 class="container-block-title">Education</h2>
|
||||
|
||||
{% for education in site.data.educations %}
|
||||
<div class="item">
|
||||
<h4 class="degree">{{ education.degree }}</h4>
|
||||
<h5 class="meta">{{ education.university }}</h5>
|
||||
<div class="time">{{ education.time }}</div>
|
||||
</div><!--//item-->
|
||||
{% endfor %}
|
||||
|
||||
</div><!--//education-container-->
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user