main.scala.html 899 B

12345678910111213141516171819202122232425
  1. @*
  2. * This template is called from the `index` template. This template
  3. * handles the rendering of the page header and body tags. It takes
  4. * two arguments, a `String` for the title of the page and an `Html`
  5. * object to insert into the body of the page.
  6. *@
  7. @(title: String)(content: Html)
  8. <!DOCTYPE html>
  9. <html lang="en">
  10. <head>
  11. @* Here's where we render the page title `String`. *@
  12. <title>@title</title>
  13. <link rel="stylesheet" media="screen" href="@routes.Assets.versioned("stylesheets/main.css")">
  14. <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/favicon.png")">
  15. </head>
  16. <body>
  17. @* And here's where we render the `Html` object containing
  18. * the page content. *@
  19. @content
  20. <script src="@routes.Assets.versioned("javascripts/main.js")" type="text/javascript"></script>
  21. </body>
  22. </html>