From add32db75dfbcaca20e088d064814e1b63322790 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Thu, 4 May 2017 12:25:08 -0400
Subject: [PATCH] Clean up dangling tags, etc.

---
 distribution_packages.shtml |  4 ----
 download_ghc_406.shtml      |  5 -----
 download_ghc_500.shtml      |  1 -
 download_ghc_62.shtml       |  5 -----
 download_ghc_64.shtml       |  1 -
 download_ghc_641.shtml      |  7 -------
 download_ghc_642.shtml      |  1 -
 download_ghc_66.shtml       |  1 -
 download_ghc_661.shtml      |  1 -
 download_ghc_681.shtml      |  1 -
 download_ghc_682.shtml      |  2 --
 download_ghc_683.shtml      |  2 --
 download_ghc_6_10_1.shtml   |  2 --
 download_ghc_6_10_2.shtml   |  2 --
 download_ghc_6_10_3.shtml   |  2 --
 download_ghc_6_10_4.shtml   |  2 --
 download_ghc_6_12_1.shtml   |  2 --
 download_ghc_6_12_2.shtml   |  2 --
 download_ghc_6_12_3.shtml   |  2 --
 download_ghc_7_0_1.shtml    |  2 --
 download_ghc_7_0_2.shtml    |  3 ---
 download_ghc_7_0_3.shtml    |  2 --
 download_ghc_7_0_4.shtml    |  2 --
 download_ghc_7_10_1.shtml   |  2 --
 download_ghc_7_10_2.shtml   |  2 --
 download_ghc_7_2_1.shtml    |  2 --
 download_ghc_7_2_2.shtml    |  2 --
 download_ghc_7_4_1.shtml    |  2 --
 download_ghc_7_4_2.shtml    |  2 --
 download_ghc_7_6_1.shtml    |  2 --
 download_ghc_7_6_2.shtml    |  2 --
 download_ghc_7_6_3.shtml    |  2 --
 download_ghc_7_8_1.shtml    |  1 +
 download_ghc_7_8_2.shtml    |  2 --
 download_ghc_7_8_3.shtml    |  2 --
 download_ghc_7_8_4.shtml    |  2 --
 faq_404.shtml               | 13 +++----------
 faq_408.shtml               | 13 +++----------
 faq_500.shtml               | 12 +++---------
 39 files changed, 10 insertions(+), 107 deletions(-)

diff --git a/distribution_packages.shtml b/distribution_packages.shtml
index a7ff3a0..43d7546 100644
--- a/distribution_packages.shtml
+++ b/distribution_packages.shtml
@@ -304,7 +304,3 @@ scripts/Emerge-Pkg ghc
     <a href="#debian">Debian</a>. See also the
     <a href="https://wiki.ubuntu.com/MOTU/Teams/UncommonProgrammingLanguages/Haskell">Ubuntu Haskell</a> page.
 </p>
-
-<!-- *********************************************************** -->
-
-</div>
diff --git a/download_ghc_406.shtml b/download_ghc_406.shtml
index 9f930b7..d077cd4 100644
--- a/download_ghc_406.shtml
+++ b/download_ghc_406.shtml
@@ -60,8 +60,3 @@ structures library. </p>
 </li>
   <li><a href="$downloads_url$/ghc-4.06-x86-hc.tar.gz">HC files</a> (for booting from source without GHC installed on x86 boxes)</li>
 </ul>
-
-<!--#include file="ghc-footer.shtml"-->
-
-</body>
-</html>
diff --git a/download_ghc_500.shtml b/download_ghc_500.shtml
index 8307d6a..40c0cb0 100644
--- a/download_ghc_500.shtml
+++ b/download_ghc_500.shtml
@@ -130,5 +130,4 @@ Notes:
     href="mailto:michael.weber@post.rwth-aachen.de">Michael
     Weber</a>).
   </li>
-
 </ul>
diff --git a/download_ghc_62.shtml b/download_ghc_62.shtml
index bc6c95c..9f67aaf 100644
--- a/download_ghc_62.shtml
+++ b/download_ghc_62.shtml
@@ -304,8 +304,3 @@ place.
 
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.
-
-{{ghc-footer}}
-
-</body>
-</html>
diff --git a/download_ghc_64.shtml b/download_ghc_64.shtml
index 98ad68c..af23e04 100644
--- a/download_ghc_64.shtml
+++ b/download_ghc_64.shtml
@@ -383,4 +383,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
diff --git a/download_ghc_641.shtml b/download_ghc_641.shtml
index 4742960..fcc2bbd 100644
--- a/download_ghc_641.shtml
+++ b/download_ghc_641.shtml
@@ -458,10 +458,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
-
-<!--#include file="ghc-footer.shtml"-->
-
-
-</body>
-</html>
diff --git a/download_ghc_642.shtml b/download_ghc_642.shtml
index 11966f4..a861014 100644
--- a/download_ghc_642.shtml
+++ b/download_ghc_642.shtml
@@ -509,4 +509,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
diff --git a/download_ghc_66.shtml b/download_ghc_66.shtml
index ba58608..3897c1d 100644
--- a/download_ghc_66.shtml
+++ b/download_ghc_66.shtml
@@ -620,4 +620,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
diff --git a/download_ghc_661.shtml b/download_ghc_661.shtml
index 2bc1414..d0add21 100644
--- a/download_ghc_661.shtml
+++ b/download_ghc_661.shtml
@@ -709,4 +709,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
diff --git a/download_ghc_681.shtml b/download_ghc_681.shtml
index bebfe14..adc186f 100644
--- a/download_ghc_681.shtml
+++ b/download_ghc_681.shtml
@@ -546,4 +546,3 @@ place.</p>
 <p>The ia64 port is thanks to Matt Chapman and <a
 href="mailto:dons@cse.unsw.edu.au">Don Stewart</a>.</p>
 -->
-    </div>
diff --git a/download_ghc_682.shtml b/download_ghc_682.shtml
index 2e8d7b4..dc47302 100644
--- a/download_ghc_682.shtml
+++ b/download_ghc_682.shtml
@@ -554,5 +554,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_683.shtml b/download_ghc_683.shtml
index 8e866ea..c4055f2 100644
--- a/download_ghc_683.shtml
+++ b/download_ghc_683.shtml
@@ -420,5 +420,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_6_10_1.shtml b/download_ghc_6_10_1.shtml
index 01e2e92..fb7bb74 100644
--- a/download_ghc_6_10_1.shtml
+++ b/download_ghc_6_10_1.shtml
@@ -474,5 +474,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_6_10_2.shtml b/download_ghc_6_10_2.shtml
index a992b30..bf42a1a 100644
--- a/download_ghc_6_10_2.shtml
+++ b/download_ghc_6_10_2.shtml
@@ -495,5 +495,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_6_10_3.shtml b/download_ghc_6_10_3.shtml
index c127dc2..3a59a6d 100644
--- a/download_ghc_6_10_3.shtml
+++ b/download_ghc_6_10_3.shtml
@@ -491,5 +491,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_6_10_4.shtml b/download_ghc_6_10_4.shtml
index 1985561..b5f781b 100644
--- a/download_ghc_6_10_4.shtml
+++ b/download_ghc_6_10_4.shtml
@@ -531,5 +531,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_6_12_1.shtml b/download_ghc_6_12_1.shtml
index 2e1cb7a..9b9c867 100644
--- a/download_ghc_6_12_1.shtml
+++ b/download_ghc_6_12_1.shtml
@@ -584,5 +584,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_6_12_2.shtml b/download_ghc_6_12_2.shtml
index b61d0b9..2cfd7ff 100644
--- a/download_ghc_6_12_2.shtml
+++ b/download_ghc_6_12_2.shtml
@@ -578,5 +578,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_6_12_3.shtml b/download_ghc_6_12_3.shtml
index 5d45bed..96abbc6 100644
--- a/download_ghc_6_12_3.shtml
+++ b/download_ghc_6_12_3.shtml
@@ -586,5 +586,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_0_1.shtml b/download_ghc_7_0_1.shtml
index 3f0579a..03de223 100644
--- a/download_ghc_7_0_1.shtml
+++ b/download_ghc_7_0_1.shtml
@@ -588,5 +588,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_0_2.shtml b/download_ghc_7_0_2.shtml
index 2938226..c8d4520 100644
--- a/download_ghc_7_0_2.shtml
+++ b/download_ghc_7_0_2.shtml
@@ -531,6 +531,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
-
diff --git a/download_ghc_7_0_3.shtml b/download_ghc_7_0_3.shtml
index dc820fe..18724fb 100644
--- a/download_ghc_7_0_3.shtml
+++ b/download_ghc_7_0_3.shtml
@@ -531,5 +531,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_0_4.shtml b/download_ghc_7_0_4.shtml
index 798c0a7..90368cf 100644
--- a/download_ghc_7_0_4.shtml
+++ b/download_ghc_7_0_4.shtml
@@ -523,5 +523,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_10_1.shtml b/download_ghc_7_10_1.shtml
index 444e088..5e0293d 100644
--- a/download_ghc_7_10_1.shtml
+++ b/download_ghc_7_10_1.shtml
@@ -618,5 +618,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_10_2.shtml b/download_ghc_7_10_2.shtml
index df682d4..22c027b 100644
--- a/download_ghc_7_10_2.shtml
+++ b/download_ghc_7_10_2.shtml
@@ -317,5 +317,3 @@ date: 29 July 2015
     href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
     in the Building Guide.</p>
 </div>
-
-</div>
diff --git a/download_ghc_7_2_1.shtml b/download_ghc_7_2_1.shtml
index bb6b7fa..8d984a9 100644
--- a/download_ghc_7_2_1.shtml
+++ b/download_ghc_7_2_1.shtml
@@ -528,5 +528,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_2_2.shtml b/download_ghc_7_2_2.shtml
index f433f90..afb86f9 100644
--- a/download_ghc_7_2_2.shtml
+++ b/download_ghc_7_2_2.shtml
@@ -528,5 +528,3 @@ EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=/usr/local/include \
                               --extra-lib-dirs=/usr/local/lib
 </pre>
 </div>
-
-    </div>
diff --git a/download_ghc_7_4_1.shtml b/download_ghc_7_4_1.shtml
index 5712b49..ff4eedb 100644
--- a/download_ghc_7_4_1.shtml
+++ b/download_ghc_7_4_1.shtml
@@ -512,5 +512,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_4_2.shtml b/download_ghc_7_4_2.shtml
index 0b44ebd..3b71d08 100644
--- a/download_ghc_7_4_2.shtml
+++ b/download_ghc_7_4_2.shtml
@@ -512,5 +512,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_6_1.shtml b/download_ghc_7_6_1.shtml
index 29337b0..7354447 100644
--- a/download_ghc_7_6_1.shtml
+++ b/download_ghc_7_6_1.shtml
@@ -531,5 +531,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_6_2.shtml b/download_ghc_7_6_2.shtml
index 4991fa4..c11ad7b 100644
--- a/download_ghc_7_6_2.shtml
+++ b/download_ghc_7_6_2.shtml
@@ -491,5 +491,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_6_3.shtml b/download_ghc_7_6_3.shtml
index 277a1d5..51cf346 100644
--- a/download_ghc_7_6_3.shtml
+++ b/download_ghc_7_6_3.shtml
@@ -491,5 +491,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_8_1.shtml b/download_ghc_7_8_1.shtml
index 31143c9..bf1aeb6 100644
--- a/download_ghc_7_8_1.shtml
+++ b/download_ghc_7_8_1.shtml
@@ -506,3 +506,4 @@ date: 9 April 2014
                                                                  href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
       in the Building Guide.</p>
   </div>
+</div>
diff --git a/download_ghc_7_8_2.shtml b/download_ghc_7_8_2.shtml
index 98559db..f56097a 100644
--- a/download_ghc_7_8_2.shtml
+++ b/download_ghc_7_8_2.shtml
@@ -588,5 +588,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_8_3.shtml b/download_ghc_7_8_3.shtml
index 2121da3..5f81857 100644
--- a/download_ghc_7_8_3.shtml
+++ b/download_ghc_7_8_3.shtml
@@ -591,5 +591,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/download_ghc_7_8_4.shtml b/download_ghc_7_8_4.shtml
index d630a97..5603c98 100644
--- a/download_ghc_7_8_4.shtml
+++ b/download_ghc_7_8_4.shtml
@@ -593,5 +593,3 @@ distribution, then you'll need to consult the section on <a
 href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting">Porting GHC</a>
 in the Building Guide.</p>
 </div>
-
-    </div>
diff --git a/faq_404.shtml b/faq_404.shtml
index c427c1b..33a55a6 100644
--- a/faq_404.shtml
+++ b/faq_404.shtml
@@ -1,10 +1,6 @@
-<html>
-
-<head>
-<title>GHC 4.04 Mini-FAQ</title>
-</head>
-
-<body>
+---
+title: GHC 4.04 Mini-FAQ
+---
 
 <h2>GHC 4.04 Mini-FAQ</h2>
 
@@ -39,6 +35,3 @@ This page lists known problems for the 4.04 release with workarounds.
   tracing while writing to stderr will still cause a deadlock.
   </li>
 </ul>
-
-</body>
-</html>
\ No newline at end of file
diff --git a/faq_408.shtml b/faq_408.shtml
index d69c0ce..3e13b94 100644
--- a/faq_408.shtml
+++ b/faq_408.shtml
@@ -1,10 +1,6 @@
-<html>
-
-<head>
-<title>GHC 4.08 Mini-FAQ</title>
-</head>
-
-<body bgcolor="white">
+---
+title: GHC 4.08 Mini-FAQ
+---
 
 <h2>GHC 4.08 Mini-FAQ</h2>
 
@@ -50,6 +46,3 @@ This page lists known problems for the 4.08 release with workarounds.
   used in preference to DLLs in the system directories.
   </li>
 </ul>
-
-</body>
-</html>
diff --git a/faq_500.shtml b/faq_500.shtml
index 9de9062..15f9b2c 100644
--- a/faq_500.shtml
+++ b/faq_500.shtml
@@ -1,10 +1,6 @@
-<html>
-
-<head>
-<title>GHC 5.00.2 Mini-FAQ</title>
-</head>
-
-<body bgcolor="white">
+---
+title: GHC 5.00.2 Mini-FAQ
+---
 
 <h2>GHC 5.00.2 Mini-FAQ</h2>
 
@@ -116,5 +112,3 @@ This page lists known problems for the 5.00.2 release, with workarounds.
   but apparently shows up with g++ and gcc 3.0.
   </li>
 </ul>
-</body>
-</html>
-- 
GitLab