Rename directories

This commit is contained in:
Oliver Davies 2017-07-11 07:28:37 +01:00
parent 13ea82323b
commit e971dbda24
31 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{% if page.company %}
{% set company = site.companies[page.company] %}
<div class="project-company {{ company.logo ? 'has-logo' : 'no-logo' }}">
<h2>Built {{ page.freelance ? 'for' : 'whilst at' }}</h2>
{% if company.logo %}
{% set name = '<img src="/assets/images/experience/' ~ company.logo ~ '" alt="' ~ company.name ~ '">' %}
{% else %}
{% set name = company.name %}
{% endif %}
{% if company.url %}
<a href="{{ company.url }}" title="{{ company.name }}">
{{ name|raw }}
</a>
{% else %}
{{ name|raw }}
{% endif %}
</div>
{% endif %}

View file

@ -0,0 +1,3 @@
{% if page.image -%}
<img src="/assets/images/projects/{{ page.image.name ?: page.image }}" alt="{{ page.image.alt }}">
{%- endif %}

View file

@ -0,0 +1,11 @@
{% if page.skills %}
<div class="project--skills">
<h2>Skills</h2>
<ul>
{% for item in page.skills|sort %}
<li>{{ site.skills[item].title }}</li>
{% endfor %}
</ul>
</div>
{% endif %}

View file

@ -0,0 +1,5 @@
{% if page.website %}
<a class="project-website btn btn-primary" href="{{ page.website }}">
View the website
</a>
{% endif %}