diff options
-rw-r--r-- | templates/template.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/template.html.erb b/templates/template.html.erb index c7297dd..4d7a28b 100644 --- a/templates/template.html.erb +++ b/templates/template.html.erb @@ -1,13 +1,15 @@ <!DOCTYPE html> <html lang=en> <head> - <title>Śpiewnik Tuturutu<%= title ? " | #{title}" : "" %></title> + <title>Tuturutu<%= title ? " | #{title}" : "" %></title> <meta charset='utf-8'> <link rel='stylesheet' type='text/css' href='<%= path_to 'style' %>'> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> -<h1><a href='<%= path_to 'index' %>'>Śpiewnik Tuturutu</a></h1> +<%- if title -%> +<a href='<%= path_to 'index' %>'>← strona główna</a> +<%- end -%> <%= content -%> |