Initial commit
This commit is contained in:
9
mojo_app/templates/example/welcome.html.ep
Normal file
9
mojo_app/templates/example/welcome.html.ep
Normal file
@@ -0,0 +1,9 @@
|
||||
% layout 'default';
|
||||
% title 'Welcome';
|
||||
<h2><%= $msg %></h2>
|
||||
<p>
|
||||
This page was generated from the template "templates/example/welcome.html.ep"
|
||||
and the layout "templates/layouts/default.html.ep",
|
||||
<%= link_to 'click here' => url_for %> to reload the page or
|
||||
<%= link_to 'here' => '/index.html' %> to move forward to a static page.
|
||||
</p>
|
||||
5
mojo_app/templates/layouts/default.html.ep
Normal file
5
mojo_app/templates/layouts/default.html.ep
Normal file
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title><%= title %></title></head>
|
||||
<body><%= content %></body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user