Browse Source

Use well-formed HTML in the default page

Christophe Coevoet 14 năm trước cách đây
mục cha
commit
e9c7188fc1

+ 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>