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">
|
<div class="interests-container container-block">
|
||||||
<h2 class="container-block-title">Interests</h2>
|
|
||||||
<ul class="list-unstyled interests-list">
|
<h2 class="container-block-title">Interests</h2>
|
||||||
<li>Climbing</li>
|
|
||||||
<li>Snowboarding</li>
|
<ul class="list-unstyled interests-list">
|
||||||
<li>Cooking</li>
|
{% for interest in site.data.interests %}
|
||||||
</ul>
|
<li>{{ interest.item }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
</div><!--//interests-->
|
</div><!--//interests-->
|
||||||
|
{% endif %}
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
|
{% if site.data.languages %}
|
||||||
<div class="languages-container container-block">
|
<div class="languages-container container-block">
|
||||||
<h2 class="container-block-title">Languages</h2>
|
|
||||||
<ul class="list-unstyled interests-list">
|
<h2 class="container-block-title">Languages</h2>
|
||||||
<li>English <span class="lang-desc">(Native)</span></li>
|
|
||||||
<li>French <span class="lang-desc">(Professional)</span></li>
|
<ul class="list-unstyled interests-list">
|
||||||
<li>Spanish <span class="lang-desc">(Professional)</span></li>
|
{%for language in site.data.languages %}
|
||||||
</ul>
|
<li>{{ language.idiom }} <span class="lang-desc">({{ language.level }})</span></li>
|
||||||
</div><!--//interests-->
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div><!--//interests-->
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user