public
Created

Basic erb file

  • Download Gist
index.erb
HTML+ERB
1 2 3 4 5 6 7 8 9 10 11 12 13
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
</head>
<body>
The date is: <%= @time.strftime("%d-%m-%Y %H:%M:%S")%>
</body>
</html>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.