diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
commit | 72ae9b3f63ddbe296f3e4e8f8db2d29303163d68 (patch) | |
tree | f0db960b784719df0c7318720880c73b5330b937 /templates/layouts | |
parent | 7c8bd21ccbca8a3166289ab0e5511cc82d2822aa (diff) |
use more tag helpers in templates
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/mainlayout.html.ep | 19 |
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> |