From 010e9b5867b6127ceb82763f3db7d51d3e7f4675 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 6 Feb 2016 21:01:55 +0000 Subject: [PATCH] Updated project layout --- source/_layouts/project.html.twig | 40 ++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/source/_layouts/project.html.twig b/source/_layouts/project.html.twig index 49ad24c1..6859cb47 100644 --- a/source/_layouts/project.html.twig +++ b/source/_layouts/project.html.twig @@ -11,17 +11,9 @@ {% block content_top %} {{ parent() }} - Role: {{ page.role }} - - {% if page.company %} -
- {% spaceless %}{% set company = site.companies[page.company] %} - Developed on behalf of - {% if company.website %} - {{ company.title }} - {% else %} - {{ company.title }} - {% endif %}{% endspaceless %}. + {% if page.image %} +
+ The {{ page.title }} website.
{% endif %} {% endblock %} @@ -33,9 +25,29 @@
{% endif %} - {% if page.image %} -
- The {{ page.title }} website. + {% if page.company %} + {% set company = site.companies[page.company] %} + + {% endif %} {% endblock %}