1
Fork 0

Add the page title to meta-tag 'title'.

master
vonavi 2014-07-02 21:01:17 +03:00
parent 490e103e45
commit 2b8926488b
2 changed files with 6 additions and 2 deletions

View File

@ -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">

View File

@ -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