summaryrefslogtreecommitdiff
path: root/templates/layouts/mainlayout.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/mainlayout.html.ep')
-rw-r--r--templates/layouts/mainlayout.html.ep19
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/layouts/mainlayout.html.ep b/templates/layouts/mainlayout.html.ep
index 782bcdd..9f36006 100644
--- a/templates/layouts/mainlayout.html.ep
+++ b/templates/layouts/mainlayout.html.ep
@@ -1,21 +1,24 @@
<!DOCTYPE html>
-
<html lang="<%= $lang %>">
<head>
<meta charset=UTF-8>
- <title> <%= stash('title') || 'JWebmail' %> </title>
- <link href="/style.css" rel=stylesheet>
+ <title>
+ %= stash('title') || 'JWebmail'
+ </title>
+ %= stylesheet '/style.css'
</head>
<body>
%= content
<footer>
- <a href="<%= url_for('about') %>">
- <%= ucfirst l 'about' %> JWebmail
- </a>
- <br/>
- <%= ucfirst l 'version' %> <%= $version %>
+ %= link_to about => begin
+ %= ucfirst l 'about'
+ JWebmail
+ % end
+ <br />
+ %= ucfirst l 'version'
+ %= $version
</footer>
</body>
</html>