now its easier to edit interests and languages

This commit is contained in:
Nelson Estevão 2017-10-29 15:08:28 +00:00
parent ddaca6f4c7
commit 5596d42cc6
4 changed files with 38 additions and 13 deletions

6
_data/interests.yml Normal file
View File

@ -0,0 +1,6 @@
- interest:
item: Climbing
- interest:
item: Snowboarding
- interest:
item: Cooking

9
_data/languages.yml Normal file
View File

@ -0,0 +1,9 @@
- language:
idiom: English
level: Native
- language:
idiom: French
level: Professional
- language:
idiom: Spanish
level: Professional

View File

@ -1,8 +1,13 @@
{% if site.data.interests %}
<div class="interests-container container-block">
<h2 class="container-block-title">Interests</h2>
<ul class="list-unstyled interests-list">
<li>Climbing</li>
<li>Snowboarding</li>
<li>Cooking</li>
</ul>
<h2 class="container-block-title">Interests</h2>
<ul class="list-unstyled interests-list">
{% for interest in site.data.interests %}
<li>{{ interest.item }}</li>
{% endfor %}
</ul>
</div><!--//interests-->
{% endif %}

View File

@ -1,8 +1,13 @@
{% if site.data.languages %}
<div class="languages-container container-block">
<h2 class="container-block-title">Languages</h2>
<ul class="list-unstyled interests-list">
<li>English <span class="lang-desc">(Native)</span></li>
<li>French <span class="lang-desc">(Professional)</span></li>
<li>Spanish <span class="lang-desc">(Professional)</span></li>
</ul>
</div><!--//interests-->
<h2 class="container-block-title">Languages</h2>
<ul class="list-unstyled interests-list">
{%for language in site.data.languages %}
<li>{{ language.idiom }} <span class="lang-desc">({{ language.level }})</span></li>
{% endfor %}
</ul>
</div><!--//interests-->
{% endif %}