OSDN Git Service

Move charset assignment to valid file offset.
authorKeith Marshall <keith@users.osdn.me>
Tue, 27 Oct 2020 21:07:50 +0000 (21:07 +0000)
committerKeith Marshall <keith@users.osdn.me>
Tue, 27 Oct 2020 21:07:50 +0000 (21:07 +0000)
* index.html (charset): The HTML5 specification requires this
meta-data attribute to be assigned within the first 1024 bytes of
the page data; move it above the licensing terms, to keep it so.

index.html

index 5be6e18..840ae87 100644 (file)
@@ -2,58 +2,62 @@
  *
  * index.html
  *
- * $Id$
- *
- * Written by Keith Marshall <keith@users.osdn.me>
- * Copyright (C) 2020, MinGW.org Project
- *
- *
- * Redistribution and use in source and 'compiled' forms (SGML, HTML,
- * PDF, PostScript, RTF, etc) with or without modification, are permitted
- * provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer as
- *    the first lines of this file, unmodified.
- *
- * 2. Redistributions in compiled form (transformed to other DTDs,
- *    converted to PDF, PostScript, RTF and other formats) must
- *    reproduce the above copyright notice, this list of conditions
- *    and the following disclaimer in the documentation and/or other
- *    materials provided with the distribution.
- *
- * THIS DOCUMENTATION IS PROVIDED BY THE MINGW.ORG PROJECT "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE MINGW.ORG PROJECT, OR
- * ITS CONTRIBUTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- * DAMAGE.
+ * Default site landing page, and generic HTML loader template for all
+ * MinGW.org web-site content.
  *
 -->
 <html lang="en">
-  <head>
-    <meta charset="utf-8" />
-    <title>Welcome to MinGW.org</title>
-    <link href="https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@500&family=Roboto&display=swap" rel="stylesheet" />
-    <link rel="stylesheet" href="site.css" />
-    <script src="site.js"></script>
-  </head>
-  <body onload="new_page('about.html', 'Home of the MinGW and MSYS Projects')">
-    <div id="header"></div>
-    <div class="page-view">
-      <div class="masthead">
-       <h1 id="page-title"></h1>
-       <h2 id="page-subtitle"></h2>
-      </div><!-- masthead --><hr />
-      <div id="page-content"></div>
-    </div><!-- page-view -->
-  </body>
+ <head>
+  <meta charset="utf-8" />
+  <title>Welcome to MinGW.org</title>
+  <!--
+   * $Id$
+   *
+   * Written by Keith Marshall <keith@users.osdn.me>
+   * Copyright (C) 2020, MinGW.org Project
+   *
+   *
+   * Redistribution and use in source and 'compiled' forms (SGML, HTML,
+   * PDF, PostScript, RTF, etc) with or without modification, are permitted
+   * provided that the following conditions are met:
+   *
+   * 1. Redistributions of source code must retain the above copyright
+   *    notice, this list of conditions and the following disclaimer as
+   *    the first lines of this file, unmodified.
+   *
+   * 2. Redistributions in compiled form (transformed to other DTDs,
+   *    converted to PDF, PostScript, RTF and other formats) must
+   *    reproduce the above copyright notice, this list of conditions
+   *    and the following disclaimer in the documentation and/or other
+   *    materials provided with the distribution.
+   *
+   * THIS DOCUMENTATION IS PROVIDED BY THE MINGW.ORG PROJECT "AS IS" AND
+   * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+   * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE MINGW.ORG PROJECT, OR
+   * ITS CONTRIBUTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+   * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+   * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+   * OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+   * DAMAGE.
+   *
+  -->
+  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@500&family=Roboto&display=swap" />
+  <link rel="stylesheet" href="site.css" />
+  <script src="site.js"></script>
+ </head>
+ <body onload="new_page('about.html', 'Home of the MinGW and MSYS Projects')">
+  <div id="header"></div>
+  <div class="page-view">
+   <div class="masthead">
+    <h1 id="page-title"></h1>
+    <h2 id="page-subtitle"></h2>
+   </div><!-- masthead --><hr />
+   <div id="page-content"></div>
+  </div><!-- page-view -->
+ </body>
 </html>
-
 <!-- $RCSfile$: end of file -->