show education either in main or sidebar
combined education-section.html and education.html into one.
This commit is contained in:
parent
2dd2b4eec6
commit
ab20595977
@ -2,7 +2,7 @@
|
|||||||
title: My Resume
|
title: My Resume
|
||||||
url: 'http://webjeda.com'
|
url: 'http://webjeda.com'
|
||||||
baseurl: '/online-cv' #change it according to your repository name
|
baseurl: '/online-cv' #change it according to your repository name
|
||||||
about: true # set to false or comment line if you want to remove the "How to use?" in the sidebar
|
about: True # set to False or comment line if you want to remove the "How to use?" in the sidebar
|
||||||
|
|
||||||
# Enable one of these styles by removing #. Style will be applied only after restarting the build or serve.
|
# Enable one of these styles by removing #. Style will be applied only after restarting the build or serve.
|
||||||
#style: styles-2
|
#style: styles-2
|
||||||
@ -29,7 +29,8 @@ github: sharu725
|
|||||||
twitter: '@webjeda'
|
twitter: '@webjeda'
|
||||||
#Update all the sections by editing the files inside _data folder.
|
#Update all the sections by editing the files inside _data folder.
|
||||||
|
|
||||||
education_in_main: true # set to false or comment line if you do not want an education section in main
|
# uncomment the next line, if you want the education section displayed in main instead of the sidebar
|
||||||
|
#education_in_main: True
|
||||||
|
|
||||||
# Tracker
|
# Tracker
|
||||||
analytics: UA-83979019-1
|
analytics: UA-83979019-1
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
{% if site.data.educations %}
|
|
||||||
<section class="section educations-section">
|
|
||||||
<h2 class="section-title"><i class="fa fa-graduation-cap"></i>Education</h2>
|
|
||||||
|
|
||||||
{% for education in site.data.educations %}
|
|
||||||
<div class="item">
|
|
||||||
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
<div class="upper-row">
|
|
||||||
<h3 class="degree">{{ education.degree }}</h3>
|
|
||||||
<div class="time">{{ education.time }}</div>
|
|
||||||
</div><!--//upper-row-->
|
|
||||||
|
|
||||||
<div class="university">{{ education.university }}</div>
|
|
||||||
|
|
||||||
</div><!--//meta-->
|
|
||||||
|
|
||||||
{% if education.details %}
|
|
||||||
<div class="details">
|
|
||||||
<p>{{ education.details }}</p>
|
|
||||||
</div><!--//details-->
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div><!--//item-->
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
</section><!--//section-->
|
|
||||||
{% endif %}
|
|
@ -1,5 +1,32 @@
|
|||||||
{% if site.data.educations %}
|
{% if site.data.educations %}
|
||||||
<div class="education-container container-block">
|
{% if site.education_in_main %}
|
||||||
|
|
||||||
|
<section class="section educations-section">
|
||||||
|
<h2 class="section-title"><i class="fa fa-graduation-cap"></i>Education</h2>
|
||||||
|
{% for education in site.data.educations %}
|
||||||
|
<div class="item">
|
||||||
|
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
<div class="upper-row">
|
||||||
|
<h3 class="degree">{{ education.degree }}</h3>
|
||||||
|
<div class="time">{{ education.time }}</div>
|
||||||
|
</div><!--//upper-row-->
|
||||||
|
|
||||||
|
<div class="university">{{ education.university }}</div>
|
||||||
|
</div><!--//meta-->
|
||||||
|
|
||||||
|
{% if education.details %}
|
||||||
|
<div class="details">
|
||||||
|
<p>{{ education.details }}</p>
|
||||||
|
</div><!--//details-->
|
||||||
|
{% endif %}
|
||||||
|
</div><!--//item-->
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</section><!--//section-->
|
||||||
|
{% else %}
|
||||||
|
<div class="education-container container-block">
|
||||||
|
|
||||||
<h2 class="container-block-title">Education</h2>
|
<h2 class="container-block-title">Education</h2>
|
||||||
|
|
||||||
@ -11,5 +38,6 @@
|
|||||||
</div><!--//item-->
|
</div><!--//item-->
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div><!--//education-container-->
|
</div><!--//education-container-->
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -45,7 +45,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div><!--//contact-container-->
|
</div><!--//contact-container-->
|
||||||
|
|
||||||
|
{% if site.education_in_main == null or site.education_in_main == false %}
|
||||||
{% include education.html %}
|
{% include education.html %}
|
||||||
|
{% endif %}
|
||||||
{% include language.html %}
|
{% include language.html %}
|
||||||
{% include interests.html %}
|
{% include interests.html %}
|
||||||
{% if site.about %}
|
{% if site.about %}
|
||||||
|
Loading…
Reference in New Issue
Block a user