This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit ab5d86bca2b26836ee10c0b6cac1b1256b762866
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Nov 13 00:03:41 2019 +0000

    Moved <head> tag of site descriptor.
    
    The tag must be before <body>. However it still does not enable MathJax.
    Tests using the <footer> tag are also ignored in the final site so the
    tags must be being replaced by other content.
---
 src/site/site.xml | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index d065401..86a757f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -15,7 +15,10 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project name="RNG">
+<project name="RNG"
+    xmlns="http://maven.apache.org/DECORATION/1.6.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/DECORATION/1.6.0 
http://maven.apache.org/xsd/decoration-1.6.0.xsd";>
   <bannerRight>
     <name>Apache Commons RNG</name>
     <src>/images/commons_rng.small.png</src>
@@ -23,6 +26,11 @@
   </bannerRight>
 
   <body>
+    <head>
+      <![CDATA[<script type="text/javascript" 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";>
+      </script>]]>
+    </head>
+
     <menu name="RNG">
       <item name="Overview" href="/index.html"/>
       <item name="Downloads" 
href="https://commons.apache.org/rng/download_rng.cgi"/>
@@ -39,10 +47,5 @@
       <item name="Contents" href="/userguide/index.html"/>
     </menu>
 
-    <head>
-      <![CDATA[<script type="text/javascript" 
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";>
-      </script>]]>
-    </head>
-
   </body>
 </project>

Reply via email to