This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/experience.html.twig

55 lines
1.6 KiB
Twig
Raw Normal View History

2017-07-11 00:08:32 +00:00
---
layout: default
title: Experience
use: [posts]
redirect:
- services/
- work/
---
{% block content %}
<h1>Experience</h1>
2017-07-15 07:29:05 +00:00
{% for experience in site.experiences|reverse %}
2017-07-11 00:08:32 +00:00
{% set company = site.companies[experience.company] %}
2017-09-04 23:27:07 +00:00
<div class="cf mb4">
2017-07-11 00:08:32 +00:00
{% if company.logo %}
2017-09-05 17:31:04 +00:00
<div class="fr mb3 ml3 mt2 mw3 mw4-ns">
<img
src="{{ site.images_url }}/assets/images/experience/{{ company.logo }}"
alt="{{ company.name }} logo"
class="image">
2017-07-11 00:08:32 +00:00
</div>
{% endif %}
2017-09-05 01:27:59 +00:00
<div>
2017-09-04 23:27:07 +00:00
<h2 class="mv0">{{ company.name }}</h2>
2017-09-04 16:55:53 +00:00
<div class="mb3">
{% if company.url -%}
2017-09-04 23:27:07 +00:00
<a class="dib mb1 blue dim" href="{{ company.url }}">
2017-09-04 16:55:53 +00:00
{{- company.url -}}
</a>
{%- endif %}
<div class="black-50">
{{- experience.role }}
from
{{ experience.start }}
to
{{ experience.end|default('Present') -}}
{%- if experience.location %} ({{ experience.location }}){% endif %}.
</div>
2017-07-11 00:08:32 +00:00
</div>
{% if experience.description %}
2017-09-05 01:27:59 +00:00
<div>
2017-07-11 00:08:32 +00:00
{{ experience.description|markdown }}
</div>
{% endif %}
</div>{# /.inner #}
</div>
{% endfor %}
{% endblock %}