Added skills

This commit is contained in:
Oliver Davies 2016-02-07 00:24:32 +00:00
parent 1e61d99a1d
commit 0f2d5810d9
33 changed files with 88 additions and 25 deletions

View file

@ -25,29 +25,6 @@
</div>
{% endif %}
{% if page.company %}
{% set company = site.companies[page.company] %}
<div class="project--company{% if company.logo %} project--company__has-logo{% endif %}">
{% if page.freelance %}
<h2>Built for</h2>
{% else %}
<h2>Built whilst at</h2>
{% endif %}
{% if company.logo %}
{% set name = '<img src="/assets/images/experience/' ~ company.logo ~ '" alt="' ~ company.title ~ '">' %}
{% else %}
{% set name = company.title %}
{% endif %}
{% if company.website %}
<a href="{{ company.website }}" title="{{ company.title }}">
{{ name|raw }}
</a>
{% else %}
{{ name|raw }}
{% endif %}
</div>
{% endif %}
{{ include('project-skills') }}
{{ include('project-company') }}
{% endblock %}