oliverdavies.uk/source/_layouts/project.html.twig
2016-06-07 22:15:46 +01:00

19 lines
477 B
Twig

{% extends 'page' %}
{% 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 %}