summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-07-12 19:07:45 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-07-12 19:07:45 +0000
commitd396283bb230448eebfb0e6734771d04fa91e29a (patch)
tree98d5c567faefc04cb6556683e30803ead042fc8d
parentMerge branch 'simplify-gitlab-ci.yml' into 'master' (diff)
parentUse valid HTML in the example (diff)
downloadpages-plain-html-d396283bb230448eebfb0e6734771d04fa91e29a.tar.gz
Merge branch 'valid-html' into 'master'
Use valid HTML in the example ## What does this MR do? Add a bit more HTML to the example to make it valid HTML5. ## Are there points in the code the reviewer needs to double check? Nope. ## Why was this MR needed? The current example is not valid: https://validator.w3.org/nu/?doc=https%3A%2F%2Fpages.gitlab.io%2Fplain-html%2F ## What are the relevant issue numbers? None. ## Screenshots ### Before ![invalid](/uploads/3df7abeff8e8c2f51a00d9a697c75065/invalid.png) ### After ![valid](/uploads/c38fc2be423ae1fd17ae87efd24936b7/valid.png) See merge request !11
-rw-r--r--public/index.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/public/index.html b/public/index.html
index c5cec8a..3a19205 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,5 +1,16 @@
-<h1>Hello World!</h1>
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="generator" content="GitLab Pages">
+ <title>Plain HTML site using GitLab Pages</title>
+ </head>
+ <body>
+ <h1>Hello World!</h1>
+
+ <p>
+ This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
+ </p>
+ </body>
+</html>
-<p>
- This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator.
-</p> \ No newline at end of file