Add the page title to meta-tag 'title'.
This commit is contained in:
parent
490e103e45
commit
2b8926488b
@ -8,7 +8,11 @@
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="/assets/ico/favicon.ico">
|
||||
|
||||
<title>{{ site.title }}</title>
|
||||
{% if page.url == "/" %}
|
||||
<title>{{ site.title }}</title>
|
||||
{% else %}
|
||||
<title>{{ page.title }} • {{ site.title }}</title>
|
||||
{% endif %}
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
|
||||
|
@ -29,7 +29,7 @@ module Jekyll
|
||||
|
||||
# Add the YAML header
|
||||
def generate_header
|
||||
@buffer += "---\nlayout: page\n---\n"
|
||||
@buffer += "---\nlayout: page\ntitle: Обзоры\n---\n"
|
||||
end
|
||||
|
||||
# Add a string containing the review entries
|
||||
|
Loading…
Reference in New Issue
Block a user