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