forked from robert/robertjohnson.work
now its easier to edit interests and languages
This commit is contained in:
parent
ddaca6f4c7
commit
5596d42cc6
6
_data/interests.yml
Normal file
6
_data/interests.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- interest:
|
||||
item: Climbing
|
||||
- interest:
|
||||
item: Snowboarding
|
||||
- interest:
|
||||
item: Cooking
|
9
_data/languages.yml
Normal file
9
_data/languages.yml
Normal file
@ -0,0 +1,9 @@
|
||||
- language:
|
||||
idiom: English
|
||||
level: Native
|
||||
- language:
|
||||
idiom: French
|
||||
level: Professional
|
||||
- language:
|
||||
idiom: Spanish
|
||||
level: Professional
|
@ -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>
|
||||
{% for interest in site.data.interests %}
|
||||
<li>{{ interest.item }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</div><!--//interests-->
|
||||
{% endif %}
|
||||
|
@ -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>
|
||||
{%for language in site.data.languages %}
|
||||
<li>{{ language.idiom }} <span class="lang-desc">({{ language.level }})</span></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</div><!--//interests-->
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user