diff --git a/_config.yml b/_config.yml index d398b4d..07f61e9 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ title: My Resume url: 'http://webjeda.com' 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. #style: styles-2 @@ -29,7 +29,8 @@ github: sharu725 twitter: '@webjeda' #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 analytics: UA-83979019-1 diff --git a/_includes/education-section.html b/_includes/education-section.html deleted file mode 100644 index 6186349..0000000 --- a/_includes/education-section.html +++ /dev/null @@ -1,29 +0,0 @@ -{% if site.data.educations %} -
-

Education

- -{% for education in site.data.educations %} -
- -
- -
-

{{ education.degree }}

-
{{ education.time }}
-
- -
{{ education.university }}
- -
- - {% if education.details %} -
-

{{ education.details }}

-
- {% endif %} - -
-{% endfor %} - -
-{% endif %} diff --git a/_includes/education.html b/_includes/education.html index 0462032..6d3a5d3 100644 --- a/_includes/education.html +++ b/_includes/education.html @@ -1,15 +1,43 @@ {% if site.data.educations %} -
+ {% if site.education_in_main %} + +
+

Education

+ {% for education in site.data.educations %} +
+ +
+ +
+

{{ education.degree }}

+
{{ education.time }}
+
+ +
{{ education.university }}
+
+ + {% if education.details %} +
+

{{ education.details }}

+
+ {% endif %} +
+ {% endfor %} + +
+ {% else %} +
-

Education

+

Education

- {% for education in site.data.educations %} -
-

{{ education.degree }}

-
{{ education.university }}
-
{{ education.time }}
-
- {% endfor %} + {% for education in site.data.educations %} +
+

{{ education.degree }}

+
{{ education.university }}
+
{{ education.time }}
+
+ {% endfor %} -
+
+ {% endif %} {% endif %} diff --git a/_includes/sidebar.html b/_includes/sidebar.html index b11f353..653c907 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -45,7 +45,9 @@ - {% include education.html %} + {% if site.education_in_main == null or site.education_in_main == false %} + {% include education.html %} + {% endif %} {% include language.html %} {% include interests.html %} {% if site.about %}