Skip to content

Commit 8e2c16c

Browse files
committed
Update <title> to match MkDocs changes
The {{ page_title }} and {{ site_name }} variables are now separated to add flexibility th themes.
1 parent 76334d9 commit 8e2c16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs_theme/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
66
<meta charset="utf-8">
7-
<title>{{ page_title }}</title>
7+
<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
88
<link href="{{ base_url }}/img/favicon.ico" rel="icon" type="image/x-icon">
99
<link rel="canonical" href="{{ canonical_url }}" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">

0 commit comments

Comments
 (0)