Fixed home page title

Fixes #27
This commit is contained in:
Oliver Davies 2016-06-14 08:48:57 +01:00
parent 83d27dd7b2
commit 59587f5136
2 changed files with 5 additions and 2 deletions

View file

@ -5,4 +5,7 @@ Feature: Homepage
Scenario:
Given I am on "/"
Then I should see "Im a Web Developer and System Administrator based in Wales, UK."
Then the response status code should be 200
And I should see "Im a Web Developer and System Administrator based in Wales, UK."
And the "title" element should contain "Web Developer, System Administrator - PHP, Drupal, Symfony, Linux | Oliver Davies"
And the "title" element should not contain "About | Oliver Davies"

View file

@ -1,5 +1,5 @@
{% spaceless %}<title>
{% if page.front %}
{% if page.url == '/.' %}
{{ site.subtitle }} | {{ site.title }}
{% else %}
{{ page.title }} | {{ site.title }}