Fix site title attribute logic (#121)
The site title attribute had some logic that would change the site title if a project modal was open, but it caused the title to permanently be set to the title of the last entry in the _posts directory. I removed the if/else logic to keep the site title to be what is specified in _config.yml in the "title" field.
This commit is contained in:
parent
1c765c107d
commit
62b362b21e
|
@ -1,7 +1,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||
<title>{{ site.title }}</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<meta name="keywords" content="{{ site.keywords }}" />
|
||||
|
|
Loading…
Reference in New Issue