Skip to content

Commit

Permalink
Use Twig spaceless in <title>.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny authored Feb 26, 2017
1 parent 9819edb commit 608633b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/include/head.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>
<title>{% spaceless %}
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.baseline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>
{% endspaceless %}</title>
<!-- CSS -->
<link rel="stylesheet" href="{{ url(minify('css/poole.css')) }}">
<link rel="stylesheet" href="{{ url(minify('css/syntax.css')) }}">
Expand Down

0 comments on commit 608633b

Please sign in to comment.