Explorar el Código

Merge remote branch 'stof/default_template'

* stof/default_template:
  Use well-formed HTML in the default page
Fabien Potencier hace 14 años
padre
commit
678e2f65ad

+ 11 - 5
src/Symfony/Bundle/FrameworkBundle/Resources/views/Default/index.html.twig

@@ -1,5 +1,11 @@
-<h1>Congratulations!</h1>
-
-<p>
-    You have successfully created a new Symfony2 application.
-</p>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+        <title>Congratulations</title>
+    </head>
+    <body>
+        <h1>Congratulations!</h1>
+        <p>You have successfully created a new Symfony2 application.</p>
+    </body>
+</html>