tokei/tests/data/ruby_html.erb
David Backeus 45ef479b47
Add .erb extension for "Ruby HTML" (#510)
* Add .erb extension for "Ruby HTML"

The `.erb` extension has been used over `.rhtml` in Ruby on Rails for over a decade at this point.

* Add an .erb file to test Ruby HTML
2020-05-01 11:32:33 +02:00

34 lines
730 B
Text

<!-- 34 lines 21 code 8 comments 5 blanks -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title><%= title %></title>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<%# ruby comment %>
<div id="modalSearch" class="modal fade" role="dialog"> </div>
</nav>
<!-- HTML single line Comment-->
<main>
<article>
<h1><%= header %></h1>
<p><%= text %></p>
</article>
</main>
<%= template "footer" %>
</body>
<!--
document.write("Multi-line and Code comment!");
//-->
<!--[if IE 8]>
IE Special comment
<![endif]-->
</html>