Skip to content

Commit

Permalink
use ndash as separator
Browse files Browse the repository at this point in the history
display it only if both `page.title` and `site.title` are defined.
  • Loading branch information
fmichonneau committed May 13, 2019
1 parent 2507646 commit 6ecf1b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
<![endif]-->

<title>
{% if page.title %}{{ page.title }}: {% endif %}
{% if site.title %}{{ site.title }}{% endif %}
{% if page.title %}{{ page.title }}{% endif %}{% if page.title and site.title %} &ndash; {% endif %}{% if site.title %}{{ site.title }}{% endif %}
</title>

</head>
Expand Down

0 comments on commit 6ecf1b7

Please sign in to comment.