-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: replace jade with ejs in view-locals
closes #3240
- Loading branch information
1 parent
64dd446
commit f44368f
Showing
4 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title><%= title %></title> | ||
<style media="screen"> | ||
body { | ||
padding: 50px; | ||
font: 16px Helvetica, Arial; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h2><%= title %></h2> | ||
<% users.forEach(function(user) { %> | ||
<li><strong><%= user.name %></strong> is a <% user.age %> year old <%= user.species %></li> | ||
<% }); %> | ||
</body> | ||
</html> |