Fix logic in includes
This commit is contained in:
parent
a56a939177
commit
a9c67f92bc
@ -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
|
||||
|
@ -19,9 +19,9 @@
|
||||
|
||||
{% include contact.html %}
|
||||
|
||||
{% unless sidebar.education %}
|
||||
{% if sidebar.education %}
|
||||
{% include education.html %}
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
|
||||
{% include language.html %}
|
||||
{% include interests.html %}
|
||||
|
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user