diff --git a/_layouts/default.html b/_layouts/default.html index 2827da3..1372ca6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,11 @@ - {{ site.title }} + {% if page.url == "/" %} + {{ site.title }} + {% else %} + {{ page.title }} • {{ site.title }} + {% endif %} diff --git a/_plugins/2-generate_reviews.rb b/_plugins/2-generate_reviews.rb index 7e23170..c149ff0 100644 --- a/_plugins/2-generate_reviews.rb +++ b/_plugins/2-generate_reviews.rb @@ -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