oliverdavies.uk/source/_layouts/project.html.twig
2016-06-24 08:28:30 +01:00

21 lines
519 B
Twig

{% extends 'page' %}
{% block body_classes 'page--project' %}
{% block content_wrapper %}
{% if page.image -%}
<img src="/assets/images/projects/{{ page.image.name ?: page.image }}" alt="{{ page.image.alt }}">
{%- endif %}
{% block content %}{% endblock %}
{% if page.website %}
<a class="project__website" href="{{ page.website }}">
View the website
</a>
{% endif %}
{{ include('projects/skills') }}
{{ include('projects/company') }}
{% endblock %}