aboutsummaryrefslogtreecommitdiffstats
path: root/_nav
diff options
context:
space:
mode:
Diffstat (limited to '_nav')
-rw-r--r--_nav/index.php9
-rw-r--r--_nav/js/source.js4
2 files changed, 10 insertions, 3 deletions
diff --git a/_nav/index.php b/_nav/index.php
index c4064d458..d5867d713 100644
--- a/_nav/index.php
+++ b/_nav/index.php
@@ -1,17 +1,20 @@
<html lang="en">
<head>
<meta name="robots" content="noindex,nosnippet,nofollow">
+ <title>mognase doc</title>
<style>
- #navdoc { font: 14px/1.4 "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; }
+ html, body { margin: 0; padding: 0; }
+ #navdoc { font: 14px/1.4 "Trebuchet MS", "Lucida Grande", "Lucida Sans", Verdana, Tahoma, Arial, sans-serif; margin: 10px; }
#navdoc code { background: #333; color: #eee; font-size: 80%; padding: 0.5em; }
</style>
</head>
-<body id="navdoc">
+<body class="community">
+ <div id="navdoc">
<?php
include '../lib/php-markdown/markdown.php';
echo Markdown(file_get_contents('README.md'));
?>
+ </div>
<script src="/_nav/js/"></script>
- <p>(this document uses the Javascript snippet)
</body>
</html> \ No newline at end of file
diff --git a/_nav/js/source.js b/_nav/js/source.js
index 484c33e57..d3695a357 100644
--- a/_nav/js/source.js
+++ b/_nav/js/source.js
@@ -11,6 +11,10 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3
$("head").append('<link rel="stylesheet" href="//www.mageia.org/_nav/css/">');
+ // TODO test is h1#mgnavt exists;
+ // TODO if not, inject existing first h1 value into a new h1#mgnavt element;
+ // TODO and remove old h1.
+
var params = {
b: $("body").attr("class"),
u: document.location.href,