class Planaria::Templates::Html

Public Class Methods

index(name) click to toggle source
# File lib/planaria/templates/html.rb, line 3
    def self.index(name)
      <<-EOS
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><%= @title %></title>
    <link rel="stylesheet" type="text/css" media="screen" href="css/#{name}.css" >
    <script type="text/javascript" src="js/#{name}.js" ></script>
  </head>

  <body>
    <h1>FIXME</h1>
  </body>

  <footer>
  </footer>
</html>
      EOS
    end