Fix logic in includes

This commit is contained in:
Nelson Estevão 2018-07-25 23:09:17 +01:00
parent a56a939177
commit a9c67f92bc
3 changed files with 7 additions and 7 deletions

View File

@ -3,8 +3,8 @@
#
sidebar:
about: True # set to false or comment line if you want to remove the "how to use?" in the sidebar
education: False # set to True if you want to remove education in main section instead of in sidebar
about: True # set to False or comment line if you want to remove the "how to use?" in the sidebar
education: True # set to False if you want education in main section instead of in sidebar
# Profile information
name: Alan Doe

View File

@ -19,9 +19,9 @@
{% include contact.html %}
{% unless sidebar.education %}
{% include education.html %}
{% endunless %}
{% if sidebar.education %}
{% include education.html %}
{% endif %}
{% include language.html %}
{% include interests.html %}

View File

@ -5,9 +5,9 @@ layout: default
{% include career-profile.html %}
{% if site.education_in_main %}
{% unless sidebar.education %}
{% include education.html %}
{% endif %}
{% endunless %}
{% include experiences.html %}