m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 11:24:33 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-09-13 11:24:33 +0200
commit2ca024e7a5e83ea860c4c476b015678d1e3e7262 (patch)
tree34bf440ab9274af2b34508c41ce38adf09508784
parentfbc841c77e78564233934146cfbec71386ec5121 (diff)
Remove h1 heading
-rw-r--r--templates/template.html.erb6
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 -%>