Spaces
This commit is contained in:
parent
14b3c6fb6c
commit
2341a91739
|
@ -1,2 +1,2 @@
|
||||||
img.me
|
img.me
|
||||||
max-width: 110px
|
max-width: 110px
|
||||||
|
|
|
@ -7,6 +7,7 @@ experiences:
|
||||||
location: Caerphilly, Wales
|
location: Caerphilly, Wales
|
||||||
role: Senior Drupal Developer
|
role: Senior Drupal Developer
|
||||||
start: May 2016
|
start: May 2016
|
||||||
|
end: ~
|
||||||
|
|
||||||
- company: freelance
|
- company: freelance
|
||||||
location: Remote
|
location: Remote
|
||||||
|
@ -82,30 +83,30 @@ experiences:
|
||||||
<h1>Experience</h1>
|
<h1>Experience</h1>
|
||||||
|
|
||||||
{% for experience in page.experiences %}
|
{% for experience in page.experiences %}
|
||||||
{% set company = site.companies[experience.company] %}
|
{% set company = site.companies[experience.company] %}
|
||||||
|
|
||||||
<div class="experience {{ company.logo ? 'experience--with-logo' : 'experience--no-logo' }}">
|
<div class="experience {{ company.logo ? 'experience--with-logo' : 'experience--no-logo' }}">
|
||||||
<h2 class="experience__title">{{ company.title }}</h2>
|
<h2 class="experience__title">{{ company.title }}</h2>
|
||||||
|
|
||||||
{% if company.website %}
|
{% if company.website %}
|
||||||
<a href="{{ company.website }}" class="experience__website">{{ company.website }}</a>
|
<a href="{{ company.website }}" class="experience__website">{{ company.website }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if company.logo %}
|
{% if company.logo %}
|
||||||
<img class="experience__logo" src="{{ site.images_url }}/assets/images/experience/{{ company.logo }}" alt="{{ company.title }} logo">
|
<img class="experience__logo" src="{{ site.images_url }}/assets/images/experience/{{ company.logo }}" alt="{{ company.title }} logo">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="experience__role">
|
<div class="experience__role">
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
{{ experience.role ~ ' from ' ~ experience.start ~ ' to ' ~ experience.end|default('Present') }}
|
{{ experience.role ~ ' from ' ~ experience.start ~ ' to ' ~ experience.end|default('Present') }}
|
||||||
{% if experience.location %}
|
{% if experience.location %}
|
||||||
({{ experience.location }})
|
({{ experience.location }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endspaceless %}.
|
{% endspaceless %}.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="experience__description">
|
<div class="experience__description">
|
||||||
{{ experience.description|raw }}
|
{{ experience.description|raw }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Reference in a new issue