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

54 lines
1.7 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-07-25 23:13:04 +00:00
<div class="experience-item{% if company.logo %} has-logo{% endif %} mb-3">
2017-07-11 00:08:32 +00:00
{% if company.logo %}
<div class="experience-item-logo">
<img src="{{ site.images_url }}/assets/images/experience/{{ company.logo }}" alt="{{ company.name }} logo">
2017-07-11 00:08:32 +00:00
</div>
{% endif %}
<div class="experience-item-inner">
<h2 class="is-marginless">{{ company.name }}</h2>
2017-07-11 00:08:32 +00:00
{% if company.url -%}
2017-07-25 23:13:04 +00:00
<a class="experience-item-website is-inline-block" href="{{ company.url }}">
2017-07-11 00:08:32 +00:00
{{- company.url -}}
</a>
{%- endif %}
2017-07-11 17:56:05 +00:00
<div class="experience-item-role text-light">
2017-07-11 06:26:55 +00:00
{{- experience.role }}
from
{{ experience.start }}
to
{{ experience.end|default('Present') -}}
2017-07-11 00:08:32 +00:00
{%- if experience.location %} ({{ experience.location }}){% endif %}.
</div>
{% if experience.description %}
<div class="experience-item-description">
{{ experience.description|markdown }}
</div>
{% endif %}
</div>{# /.inner #}
</div>
{% endfor %}
{% endblock %}
2017-08-18 23:28:44 +00:00
{% block stylesheets %}
<link rel="stylesheet" href="{{ site.url }}/assets/css/experience.css">
{% endblock %}