Skip to content

Commit c735cdd

Browse files
authored
Simplify title if statement
1 parent 878d2de commit c735cdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!DOCTYPE html>
44
<html class="height-full">
55
<head>
6-
{% if page.title %}<title>{{ page.title }} - {{ site.title }}</title>{% else %}<title>{{ site.title }}</title>{% endif %}
6+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
77
<meta charset="utf-8">
88
<link rel="stylesheet" href="{{ site.baseurl }}/primer.css">
99
<link rel="stylesheet" href="{{ site.baseurl }}/github-syntax.css">

0 commit comments

Comments
 (0)